summaryrefslogtreecommitdiff
path: root/packages/Shell/AndroidManifest.xml
diff options
context:
space:
mode:
author sqian <shuoq@google.com> 2020-01-30 14:14:43 -0800
committer sqian <shuoq@google.com> 2020-01-30 14:14:43 -0800
commitdfdee636e3e140f1c21985e7ffc893279206b23e (patch)
treefcd0fe8243b1d8db0150bc5d83587124d7044197 /packages/Shell/AndroidManifest.xml
parent64c1e4ddef0b4fa3a9be8889ec6c9d2fd24107f7 (diff)
Add LISTEN_ALWAYS_REPORTED_SIGNAL_STRENGTH into Shell permission
> Is the minimally scoped permission that needs to be added? This is a minimal permission for always listening to signal strength. > What options did you explore that did not need this permission? CTS is required by API council; Telephony CTS is using shell to have system permission. I don't see other options. Integrate the callback of LISTEN_ALWAYS_REPORTED_SIGNAL_STRENGTH Test: CTS; https://paste.googleplex.com/5811446241820672 Bug: 147322848 Change-Id: Id5afd261a7f00c25e3af3558f30fb92aad42f060
Diffstat (limited to 'packages/Shell/AndroidManifest.xml')
-rw-r--r--packages/Shell/AndroidManifest.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml
index 5a5a7576484e..09eece8a4746 100644
--- a/packages/Shell/AndroidManifest.xml
+++ b/packages/Shell/AndroidManifest.xml
@@ -211,6 +211,9 @@
<!-- Permission required for CTS test - CrossProfileAppsHostSideTest -->
<uses-permission android:name="android.permission.INTERACT_ACROSS_PROFILES"/>
+ <!-- permissions required for CTS test - PhoneStateListenerTest -->
+ <uses-permission android:name="android.permission.LISTEN_ALWAYS_REPORTED_SIGNAL_STRENGTH" />
+
<!-- Permission required for CTS test - UiModeManagerTest -->
<uses-permission android:name="android.permission.ENTER_CAR_MODE_PRIORITIZED"/>