Fix shuffle bug with ALL_SONGS
Fix an issue where if a song was played with KEEP_SHUFFLE on the queue wouldnt actually be shuffled.
This commit is contained in:
parent
6ecfd0daa0
commit
d507b77d32
1 changed files with 2 additions and 3 deletions
|
@ -161,9 +161,9 @@ class PlaybackStateManager private constructor() {
|
|||
mParent = null
|
||||
|
||||
mQueue = if (shouldShuffle) {
|
||||
musicStore.songs.toMutableList()
|
||||
} else {
|
||||
genShuffle(musicStore.songs.toMutableList(), false)
|
||||
} else {
|
||||
musicStore.songs.toMutableList()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -198,7 +198,6 @@ class PlaybackStateManager private constructor() {
|
|||
} else {
|
||||
orderSongsInAlbum(song.album)
|
||||
}
|
||||
mMode = mode
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue