summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Neil Fuller <nfuller@google.com> 2022-03-29 16:39:48 +0000
committer Neil Fuller <nfuller@google.com> 2022-03-30 13:28:01 +0000
commitc55590c81015a91a1585b4b86d93875a8b96350c (patch)
tree2aef0b8be0c5cf4d84131fd5ccb05cff2c68936e /api/api.go
parent5a79258c646233749fca5a9ccb9a743f9ec267e5 (diff)
Add Shell permission to support manual testing
Add android.permission.SUGGEST_TELEPHONY_TIME_AND_ZONE to the shell process to enable command-line injection of time zone suggestions to the time_zone_detector service. Shell already has permissions like SET_TIME_ZONE that allow the time zone to be set directly, so this is not a security regression. Bug: 227337462 Test: adb shell cmd time_zone_detector suggest_telephony_time_zone --slot_index 0 --zone_id Europe/London --quality single --match_type country Ignore-AOSP-First: Merge conflict, AOSP cherry-pick will land after Change-Id: I377cab85a1b39ef2887b452d1ffcdc5b00a8d5ab
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions