summaryrefslogtreecommitdiff
path: root/packages/Shell
diff options
context:
space:
mode:
authorNick Moukhine <oni@google.com>2020-12-04 10:04:38 +0100
committerNick Moukhine <oni@google.com>2020-12-07 10:04:32 +0100
commita06b55ee9e6d3623e11eb0f1710a477e2a426a80 (patch)
tree97136a8ea31ab5d1107098fdb4e50b14b645a5c3 /packages/Shell
parente59313abccefba25bef005d89882d9528dd48765 (diff)
Allow shell to invoke music recognition api
Needed to allow MusicRecognitionManagerTest in cts to exercise the api. Bug: 158194857 Test: patched and verified on internal master Change-Id: Ia1b250de28c492c4058c7dd8f6573a0f0a178505
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 fa4da2826b54..757bbda81a20 100644
--- a/packages/Shell/AndroidManifest.xml
+++ b/packages/Shell/AndroidManifest.xml
@@ -276,6 +276,9 @@
<uses-permission android:name="android.permission.MANAGE_NOTIFICATIONS"/>
<uses-permission android:name="android.permission.ACCESS_LOCUS_ID_USAGE_STATS"/>
+ <!-- Permission needed for CTS test - MusicRecognitionManagerTest -->
+ <uses-permission android:name="android.permission.MANAGE_MUSIC_RECOGNITION" />
+
<!-- Permissions required to test ambient display. -->
<uses-permission android:name="android.permission.READ_DREAM_STATE"/>
<uses-permission android:name="android.permission.WRITE_DREAM_STATE"/>