media/libraries/session/src
tonihei f5dc99f596 Forward legacy controller onPlay/PrepareFromXY calls to onAddMediaItems
These legacy callbacks are currently forwarded to onSetMediaUri which
will be removed in the future.

Also make sure to only call player.prepare/play after the items have
been set.

The calls to onAddQueueItem are also forwarded to onAddMediaItems to
actually allow a session to resolve these items to playable media, which
wasn't possible so far.

PiperOrigin-RevId: 453625204
(cherry picked from commit bd126ec5c5)
2022-06-09 18:36:35 +00:00
..
androidTest Create BitmapLoader 2022-02-17 11:52:23 +00:00
main Forward legacy controller onPlay/PrepareFromXY calls to onAddMediaItems 2022-06-09 18:36:35 +00:00
test Support custom actions with DefaultMediaNotificationProvider 2022-05-24 11:10:51 +01:00