
When MediaItems are added from the controller, we currently completely replace the item with the one from our database, overriding any potential additional information the controller may have set. Also forward the onAddMediaItems/onSetMediaItems callbacks to common helper methods instead of redirecting them through super methods #minor-release Issue: androidx/media#706 PiperOrigin-RevId: 573799351
Demo MediaLibraryService
implementation
A library module with a demo implementation of MediaLibraryService
and
MediaLibrarySession.Callback
.
See the PlaybackService
of the session demo how to use
it. Override assets/cataglog.json
by creating such a file in the same format
in your application module that the service will use.