media/libraries/session/src
jbibik 501da109ce Default RepeatMode for conversion is NONE/OFF
Current behaviour causes an app to crash if it receives an unrecognized repeat mode send over the wire. In order to avoid the crash, a sensible default had to be chosen.

For `Player.RepeatMode`, it is `Player.REPEAT_MODE_OFF`, which is the same value we use as default when unbundling `PlayerInfo`.

For `PlaybackStateCompat.RepeatMode`, it is `PlaybackStateCompat.REPEAT_MODE_NONE`, which is what we use in the no-arg `LegacyPlayerInfo` constructor.

Issue: androidx/media#448

#minor-release

PiperOrigin-RevId: 540563792
2023-06-19 16:13:39 +01:00
..
androidTest Add injection of BitmapLoader from MediaSession. 2022-10-31 11:32:30 +00:00
main Default RepeatMode for conversion is NONE/OFF 2023-06-19 16:13:39 +01:00
test Implement equals/hashCode for CommandButton 2023-06-14 20:45:36 +01:00