summaryrefslogtreecommitdiff
path: root/packages/Shell
diff options
context:
space:
mode:
author Kathy Chen <kxchen@google.com> 2022-02-10 03:19:41 +0000
committer Kathy Chen <kxchen@google.com> 2022-02-10 23:59:25 +0000
commit17a4a4e2ff4496ce5a272736d8d7d6d3ec55fdcd (patch)
treeebbc65d46aa52fcd6992fa365b2fd84882d2fbe5 /packages/Shell
parent3f26af586ccec90d31507cccadf4d1cd98b5384a (diff)
Fix a bug where after the client calls startConsentActivity(), the framework is not loading the test activity as expected. Add permission to shell for cts test.
Test: end-to-end test with dev aiai and wellbeing apks Bug: 218708840 Change-Id: Ia1c6a3575d85df274b4e6fcbed4881e576fcbfac Ignore-AOSP-First: to prevent new feature leak.
Diffstat (limited to 'packages/Shell')
-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 e9f940a65e83..741fe4f22e74 100644
--- a/packages/Shell/AndroidManifest.xml
+++ b/packages/Shell/AndroidManifest.xml
@@ -603,6 +603,9 @@
<uses-permission android:name="android.permission.MEDIA_CONTENT_CONTROL" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_ROUTING" />
+ <!-- Permission required for CTS test - CtsAmbientContextDetectionServiceDeviceTest -->
+ <uses-permission android:name="android.permission.ACCESS_AMBIENT_CONTEXT_EVENT" />
+
<!-- Permission required for CTS test - CallAudioInterceptionTest -->
<uses-permission android:name="android.permission.CALL_AUDIO_INTERCEPTION" />