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:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user