diff options
| author | 2022-03-29 16:39:48 +0000 | |
|---|---|---|
| committer | 2022-03-30 13:28:57 +0000 | |
| commit | fddc4e274110a408c33bdb4aa67614daabf12a36 (patch) | |
| tree | 60536e08c6a99cbfa71f0ea754fcd34074f18678 /packages/Shell/AndroidManifest.xml | |
| parent | 39ae5bac216757bc201490f4c7b8c0f63006c6cd (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
Merged-In: I377cab85a1b39ef2887b452d1ffcdc5b00a8d5ab
Change-Id: I377cab85a1b39ef2887b452d1ffcdc5b00a8d5ab
Diffstat (limited to 'packages/Shell/AndroidManifest.xml')
| -rw-r--r-- | packages/Shell/AndroidManifest.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml index feee4a138a35..c03ed0323bec 100644 --- a/packages/Shell/AndroidManifest.xml +++ b/packages/Shell/AndroidManifest.xml @@ -471,6 +471,9 @@ <!-- Permission needed for CTS test - MatchContentFrameRateTest --> <uses-permission android:name="android.permission.MODIFY_REFRESH_RATE_SWITCHING_TYPE" /> + <!-- Permissions needed for manual testing telephony time zone detector behavior --> + <uses-permission android:name="android.permission.SUGGEST_TELEPHONY_TIME_AND_ZONE" /> + <!-- Permissions needed for CTS test - TimeManagerTest --> <uses-permission android:name="android.permission.MANAGE_TIME_AND_ZONE_DETECTION" /> <uses-permission android:name="android.permission.SUGGEST_EXTERNAL_TIME" /> |