fix(session): keep wake locks released under a manual hold and retry the paused frame

This commit is contained in:
Kurt Himebauch committed 2026-10-27 22:06:05 -04:00
1 parent c5cd52b5c9
commit bc094d1920
3 files changed
+6 -2

No files matched your search

@@ -1556,7 +1556,7 @@ class SessionService : Service() {
manualPauseRequested = false
}
val controller = suspendController ?: return
if (downloadsBlockingSuspend) acquireLocks()
if (downloadsBlockingSuspend && !manualHold) acquireLocks()
val steamPause = SessionState.mode == MODE_STEAM && (manualHold || !downloadsBlockingSuspend && when (suspendPolicy) {
SessionPrefs.SUSPEND_AUTO, SessionPrefs.SUSPEND_NATIVE -> hidden
SessionPrefs.SUSPEND_MANUAL -> manualPauseRequested