media/demos/session_service
tonihei e46ee01c00 Expand MediaItems in session demo instead of just replacing them
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
(cherry picked from commit 00425dbe80dc9da38766f7235052c434d79724d1)
2023-10-23 13:15:17 +01:00
..

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.