Fixed the notification not showing up when starting playback from the fab

This commit is contained in:
Karim Abou Zeid 2015-06-22 17:13:50 +02:00
commit 3cdf44e099
3 changed files with 20 additions and 16 deletions

View file

@ -434,7 +434,7 @@ public class MusicService extends Service {
}
private void updateNotification() {
playingNotificationHelper.buildNotification(getCurrentSong(), isPlayingAndNotFadingDown());
playingNotificationHelper.updateNotification();
}
private void updateWidgets() {
@ -570,11 +570,11 @@ public class MusicService extends Service {
saveState();
}
public void addSongs(int position, List<Song> songs) {
playingQueue.addAll(position, songs);
originalPlayingQueue.addAll(position, songs);
saveState();
}
// public void addSongs(int position, List<Song> songs) {
// playingQueue.addAll(position, songs);
// originalPlayingQueue.addAll(position, songs);
// saveState();
// }
public void addSongs(List<Song> songs) {
playingQueue.addAll(songs);