Disable current sleep timer if there are no more episodes in the queue. (#8071)

This commit is contained in:
eblis
2025-10-30 20:27:35 +02:00
committed by GitHub
parent eee7346c03
commit 26e8c9e1bd

View File

@ -1101,6 +1101,7 @@ public class PlaybackService extends MediaBrowserServiceCompat {
if (stopPlaying) {
taskManager.cancelPositionSaver();
cancelPositionObserver();
disableSleepTimer();
if (!isCasting) {
stateManager.stopForeground(true);
stateManager.stopService();