Fixed some of the apps most common FCs according to its fabric.io statistics
This commit is contained in:
parent
6a6da75fd6
commit
5a25738993
3 changed files with 34 additions and 21 deletions
|
|
@ -231,8 +231,10 @@ public class MusicPlayerRemote {
|
|||
|
||||
public static void shuffleAllSongs(final Context context) {
|
||||
ArrayList<Song> songs = SongLoader.getAllSongs(context);
|
||||
MusicPlayerRemote.openQueue(songs, new Random().nextInt(songs.size()), true);
|
||||
forceSetShuffleMode(context, MusicService.SHUFFLE_MODE_SHUFFLE);
|
||||
if (!songs.isEmpty()) {
|
||||
MusicPlayerRemote.openQueue(songs, new Random().nextInt(songs.size()), true);
|
||||
forceSetShuffleMode(context, MusicService.SHUFFLE_MODE_SHUFFLE);
|
||||
}
|
||||
}
|
||||
|
||||
public static void playNext(Song song) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue