media/libraries/session/src
christosts c56c6a2ea4 Start playback from notification
This change fixes two bugs where MediaSessionServe shows a notification
with the Play icon but tapping it will not start playback:
1. After playback ends: we need to seek to the beginning of the media
   item.
2. After adding media items to the player but not starting playback:
   We need to call Player.prepare() too.

PiperOrigin-RevId: 432469953
(cherry picked from commit 1023b9d55e)
2022-03-08 17:11:55 +00:00
..
main Start playback from notification 2022-03-08 17:11:55 +00:00
test Use service context in DefaultActionFactory 2022-02-22 10:25:07 +00:00