Open ashiagr opened 1 year ago
Hey there, fellow OSS developers.
Just a heads up; while debugging this issue: https://github.com/PaulWoitaschek/Voice/issues/1765 I found that Nederadio as well as Pocket Casts suffer from the same bug: in Android Auto if the App is not running, it will not show the previously playing book.
You can find a reproducer here: https://github.com/NielsMasdorp/Nederadio-Android/issues/42#issuecomment-1564578319
This does work with the current implementation on the main branch.
Tasks/ Checklist
[x] Migrate Standalone ExoPlayer libs to Media3 ExoPlayer (PR#886)
[x] Migrate MediaBrowserService to MediaLibraryService (PR#886)
MediaBrowserService
,MediaLibraryService
) service interfaces for backward compatibilitymedia3-session
dependencyMediaLibraryService
instead ofMediaBrowserService
MediaLibraryService.MediaLibrarySessionCallback
androidx.media3.common.MediaItem
instead of MediaBrowserCompat.MediaItemFutures
in contrast to the detachable Result approach of theMediaBrowserServiceCompat
AutoPlaybackService
[ ] Update player for media3
PlaybackService
(PR#894)[ ] Control playback in the media session
[ ] Up Next Queue
[ ] Notification
MediaSessionService
automatically creates aMediaNotification
that should work in most cases.[ ] Support lower API devices
[ ] Test for foreground service exception - comment