Fixed the notification not showing up when starting playback from the fab
This commit is contained in:
parent
a3e94da232
commit
3cdf44e099
3 changed files with 20 additions and 16 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue