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

@@ -109,6 +109,10 @@ fun SessionPausedOverlay(
when {
suspended && !engaged -> {
if (!shown && animateIn) {
if (currentFrame == null) {
onFrameNeeded()
withTimeoutOrNull(FRAME_WAIT_MS) { snapshotFlow { currentFrame }.first { it != null } }
}
shown = true
launch { press.animateTo(1f, Motion.sp(0.5f, Spring.StiffnessMedium)) }
launch { ring.animateTo(0f, Motion.tw(200)) }