-
Ensure behavior of add/setMediaItems is consistent on empty playlist · 8c6da05f
Adding items to an empty playlist is slightly different from adding items to a non-empty playlist, because the former usually requires to handle a change in the current item, position and playback state, while the latter is not expected to affect the current item, position or state. The current ExoPlayer and SimpleBasePlayer code doesn't account for this difference, leading to inconsistent behavior between setMediaItem(s) and addMediaItem(s) when called on an empty playlist. PiperOrigin-RevId: 530549928
tonihei committed
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| java | Loading commit data... | |
| AndroidManifest.xml | Loading commit data... |