mirror of
https://github.com/cmclark00/RetroMusicPlayer.git
synced 2025-05-17 23:55:21 +01:00
Merge pull request #1506 from luispinho/fix-android-auto-shuffle
Fix option to shuffle all songs in Android Auto
This commit is contained in:
commit
757a75a9dc
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ class MediaSessionCallback(
|
||||||
musicService.openQueue(songs, 0, true)
|
musicService.openQueue(songs, 0, true)
|
||||||
}
|
}
|
||||||
AutoMediaIDHelper.MEDIA_ID_MUSICS_BY_SHUFFLE -> {
|
AutoMediaIDHelper.MEDIA_ID_MUSICS_BY_SHUFFLE -> {
|
||||||
val allSongs: ArrayList<Song> = songRepository.songs() as ArrayList<Song>
|
val allSongs = songRepository.songs().toMutableList()
|
||||||
makeShuffleList(allSongs, -1)
|
makeShuffleList(allSongs, -1)
|
||||||
musicService.openQueue(allSongs, 0, true)
|
musicService.openQueue(allSongs, 0, true)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue