Probably finally fixed the double notification bug.
This commit is contained in:
parent
cbe8751ce0
commit
ee1e0d4267
3 changed files with 11 additions and 7 deletions
|
|
@ -879,7 +879,11 @@ public class MusicService extends Service implements SharedPreferences.OnSharedP
|
|||
break;
|
||||
case QUEUE_CHANGED:
|
||||
saveState();
|
||||
prepareNext();
|
||||
if (playingQueue.size() > 0) {
|
||||
prepareNext();
|
||||
} else {
|
||||
playingNotificationHelper.killNotification();
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue