media/libraries/session/src
michaelkatz 8270dd4536 Changed MediaController to return last estimated position while paused
The method getCurrentPosition() may return a lesser position during pause than the previous retrieved value due to ipc call delay in playerInfo update. Users see track position jump backwards at pause. Fixed to return last estimated position while paused if have not received updated playerInfo. Code is deduped to point getContentPosition() to getCurrentPosition() when !isPlayingAd.

PiperOrigin-RevId: 486617341
(cherry picked from commit 9336b95bf4)
2022-11-07 11:36:36 +00:00
..
androidTest Add injection of BitmapLoader from MediaSession. 2022-10-25 13:21:08 +00:00
main Changed MediaController to return last estimated position while paused 2022-11-07 11:36:36 +00:00
test Add injection of BitmapLoader from MediaSession. 2022-10-25 13:21:08 +00:00