mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-02-02 11:46:55 +01:00
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();
|
PlaybackPreferences.writeNoMediaPlaying();
|
||||||
if (!isCasting) {
|
if (!isCasting) {
|
||||||
stateManager.stopForeground(true);
|
stateManager.stopForeground(true);
|
||||||
|
stateManager.stopService();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (mediaType == null) {
|
if (mediaType == null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user