Skip to content

Commit b11c0c1

Browse files
marcbaechingercopybara-github
authored andcommitted
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: #672 PiperOrigin-RevId: 595320994
1 parent 258ffa6 commit b11c0c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demos/session/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
android:foregroundServiceType="mediaPlayback"
6060
android:exported="true">
6161
<intent-filter>
62-
<action android:name="androidx.media3.session.MediaSessionService"/>
62+
<action android:name="androidx.media3.session.MediaLibraryService"/>
6363
<action android:name="android.media.browse.MediaBrowserService"/>
6464
<action android:name="android.media.action.MEDIA_PLAY_FROM_SEARCH"/>
6565
</intent-filter>

0 commit comments

Comments
 (0)