mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-12-01 12:31:45 +00:00
Disable current sleep timer if there are no more episodes in the queue. (#8071)
This commit is contained in:
@ -1101,6 +1101,7 @@ public class PlaybackService extends MediaBrowserServiceCompat {
|
||||
if (stopPlaying) {
|
||||
taskManager.cancelPositionSaver();
|
||||
cancelPositionObserver();
|
||||
disableSleepTimer();
|
||||
if (!isCasting) {
|
||||
stateManager.stopForeground(true);
|
||||
stateManager.stopService();
|
||||
|
||||
Reference in New Issue
Block a user