Stop service properly when playback ends

This commit is contained in:
ByteHamster 2021-03-26 18:00:24 +01:00
parent 66cc86a76b
commit 4f5d076cb9
1 changed files with 1 additions and 0 deletions

View File

@ -1052,6 +1052,7 @@ public class PlaybackService extends MediaBrowserServiceCompat {
PlaybackPreferences.writeNoMediaPlaying();
if (!isCasting) {
stateManager.stopForeground(true);
stateManager.stopService();
}
}
if (mediaType == null) {