media/libraries/common/src
tonihei 05571b3e0d Clarify that onPlayWhenReadyChanged can be called again with new reason
Sometimes the reason for the current state may change. If we don't
report this again, users have no way of knowing that the reason
changed.

Also adjust ExoPlayerImpl and MediaControllerImplBase accordingly.
SimpleBasePlayer already adheres to this logic.

#cherrypick

PiperOrigin-RevId: 644970236
(cherry picked from commit 1d26d1891e)
2024-07-02 14:11:37 +00:00
..
main Clarify that onPlayWhenReadyChanged can be called again with new reason 2024-07-02 14:11:37 +00:00
test Sync and map fatal and non-fatal errors from and to the legacy session 2024-06-12 06:26:00 -07:00