Add FOREGROUND_SERVICE_MEDIA_PLAYBACK permission for test session app

Foreground service type `mediaPlayback` requires permission `android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK`. The `MockMediaSessionService`, `LocalMockMediaSessionService`, `MockMediaLibraryService`
 and `LocalMockMediaLibraryService` declared in the manifest are in the `mediaPlayback` type.

PiperOrigin-RevId: 639013810
This commit is contained in:
tianyifeng 2024-05-31 06:20:29 -07:00 committed by Copybara-Service
parent d3fa33250b
commit 9916428728

View File

@ -18,6 +18,7 @@
<uses-sdk/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" />
<queries>
<package android:name="androidx.media3.test.session.test" />