diff options
author | ByteHamster <info@bytehamster.com> | 2021-03-26 18:00:24 +0100 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2021-03-26 18:59:14 +0100 |
commit | 4f5d076cb94f5c8fe40472a6727dc36e43dabf4c (patch) | |
tree | ee45f750390f5cb9ccdcea302421d5732f41464c | |
parent | 66cc86a76b973f9754c9f7ec1f52e7537179ed9a (diff) | |
download | AntennaPod-4f5d076cb94f5c8fe40472a6727dc36e43dabf4c.zip |
Stop service properly when playback ends
-rw-r--r-- | core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java b/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java index 1cd60a7a0..e9fd5de3a 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java +++ b/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java @@ -1052,6 +1052,7 @@ public class PlaybackService extends MediaBrowserServiceCompat { PlaybackPreferences.writeNoMediaPlaying(); if (!isCasting) { stateManager.stopForeground(true); + stateManager.stopService(); } } if (mediaType == null) { |