media/libraries/session/src
tonihei 2186b6d325 Avoid sending periodic position updates while paused and not loading
The period updates were introduced to ensure the buffered position is
updated regularly and that any playback position drift is corrected.

None of these updates need to happen while the player is paused or
not loading and we can avoid the constant binder interactions.

PiperOrigin-RevId: 496329800
(cherry picked from commit 0749b05923)
2023-01-25 18:17:15 +00:00
..
androidTest Add injection of BitmapLoader from MediaSession. 2022-10-25 13:21:08 +00:00
main Avoid sending periodic position updates while paused and not loading 2023-01-25 18:17:15 +00:00
test Replace MediaMetadata folderType by isBrowsable 2023-01-25 18:17:11 +00:00