Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a06b55ee authored by Nick Moukhine's avatar Nick Moukhine
Browse files

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
parent e59313ab
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -276,6 +276,9 @@
    <uses-permission android:name="android.permission.MANAGE_NOTIFICATIONS"/>
    <uses-permission android:name="android.permission.MANAGE_NOTIFICATIONS"/>
    <uses-permission android:name="android.permission.ACCESS_LOCUS_ID_USAGE_STATS"/>
    <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. -->
    <!-- Permissions required to test ambient display. -->
    <uses-permission android:name="android.permission.READ_DREAM_STATE"/>
    <uses-permission android:name="android.permission.READ_DREAM_STATE"/>
    <uses-permission android:name="android.permission.WRITE_DREAM_STATE"/>
    <uses-permission android:name="android.permission.WRITE_DREAM_STATE"/>