Fixing the shuffle button on the UI is enough.
No need for doing the heavier method ``onShuffleModeEnabledChanged(false);``
This commit is contained in:
parent
128b079f4f
commit
be83a6bd0e
1 changed files with 2 additions and 1 deletions
|
|
@ -774,7 +774,8 @@ public final class Player implements
|
||||||
destroyPlayer();
|
destroyPlayer();
|
||||||
initPlayer(playOnReady);
|
initPlayer(playOnReady);
|
||||||
setRepeatMode(repeatMode);
|
setRepeatMode(repeatMode);
|
||||||
onShuffleModeEnabledChanged(false);
|
// #6825 - Ensure that the shuffle-button is in the correct state on the UI
|
||||||
|
setShuffleButton(binding.shuffleButton, simpleExoPlayer.getShuffleModeEnabled());
|
||||||
setPlaybackParameters(playbackSpeed, playbackPitch, playbackSkipSilence);
|
setPlaybackParameters(playbackSpeed, playbackPitch, playbackSkipSilence);
|
||||||
|
|
||||||
playQueue = queue;
|
playQueue = queue;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue