From c55590c81015a91a1585b4b86d93875a8b96350c Mon Sep 17 00:00:00 2001 From: Neil Fuller Date: Tue, 29 Mar 2022 16:39:48 +0000 Subject: [PATCH] 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 --- packages/Shell/AndroidManifest.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml index e8b87f57dfc61..a10ca9e753555 100644 --- a/packages/Shell/AndroidManifest.xml +++ b/packages/Shell/AndroidManifest.xml @@ -495,6 +495,9 @@ + + +