media/libraries/session/src
michaelkatz bb11e0286e Add onSetMediaItems listener with access to start index and position
Added onSetMediaItems callback listener to allow the session to modify/set MediaItem list, starting index and position before call to Player.setMediaItem(s).

Added conditional check in MediaSessionStub.setMediaItem methods to only call player.setMediaItem rather than setMediaItems if player does not support COMMAND_CHANGE_MEDIA_ITEMS

PiperOrigin-RevId: 503427927
2023-01-23 12:34:44 +00:00
..
androidTest Add injection of BitmapLoader from MediaSession. 2022-10-31 11:32:30 +00:00
main Add onSetMediaItems listener with access to start index and position 2023-01-23 12:34:44 +00:00
test Add the MediaSession as an argument to getMediaButtons() 2023-01-23 12:33:37 +00:00