Stop service properly when playback ends
This commit is contained in:
parent
66cc86a76b
commit
4f5d076cb9
|
@ -1052,6 +1052,7 @@ public class PlaybackService extends MediaBrowserServiceCompat {
|
|||
PlaybackPreferences.writeNoMediaPlaying();
|
||||
if (!isCasting) {
|
||||
stateManager.stopForeground(true);
|
||||
stateManager.stopService();
|
||||
}
|
||||
}
|
||||
if (mediaType == null) {
|
||||
|
|
Loading…
Reference in New Issue