[Notification] Fixed notification not updating when Classic Notification is toggled
This commit is contained in:
parent
8a181607be
commit
c81015905e
1 changed files with 2 additions and 1 deletions
|
@ -938,8 +938,9 @@ public class MusicService extends MediaBrowserServiceCompat
|
||||||
updateNotification();
|
updateNotification();
|
||||||
break;
|
break;
|
||||||
case CLASSIC_NOTIFICATION:
|
case CLASSIC_NOTIFICATION:
|
||||||
initNotification();
|
|
||||||
updateNotification();
|
updateNotification();
|
||||||
|
playingNotification.setPlaying(isPlaying());
|
||||||
|
playingNotification.updateMetadata(getCurrentSong(), this::startForegroundOrNotify);
|
||||||
break;
|
break;
|
||||||
case TOGGLE_HEADSET:
|
case TOGGLE_HEADSET:
|
||||||
registerHeadsetEvents();
|
registerHeadsetEvents();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue