From b11c0c19b005b7c70d55bb0071fcbbf09a059d57 Mon Sep 17 00:00:00 2001 From: bachinger Date: Wed, 3 Jan 2024 00:47:49 -0800 Subject: [PATCH] Declare demo service as MediaLibraryService The `PlaybackService` of the demo app is declared as `androidx.media3.session.MediaSessionService` instead of `androidx.media3.session.MediaLibraryService`. While this technically works, its confusing to do that in the demo app. Generally, apps that declare the legacy `android.media.browse.MediaBrowserService` should also declare `androidx.media3.session.MediaLibraryService` and the demo app should reflect this common case. Issue: androidx/media#672 PiperOrigin-RevId: 595320994 --- demos/session/src/main/AndroidManifest.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demos/session/src/main/AndroidManifest.xml b/demos/session/src/main/AndroidManifest.xml index 550b0698f0..d902b7f414 100644 --- a/demos/session/src/main/AndroidManifest.xml +++ b/demos/session/src/main/AndroidManifest.xml @@ -59,7 +59,7 @@ android:foregroundServiceType="mediaPlayback" android:exported="true"> - +