media/libraries/test_session_current/src
michaelkatz e266051fbe 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
(cherry picked from commit bb11e0286e)
2023-01-25 18:18:42 +00:00
..
androidTest Add onSetMediaItems listener with access to start index and position 2023-01-25 18:18:42 +00:00
main Extend command GET_CURRENT_MEDIA_ITEM to more methods. 2023-01-25 18:18:42 +00:00