Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6b584af3 authored by Josh Tsuji's avatar Josh Tsuji
Browse files

Ensure canWakeDirectlyToGone is updated when the startedStep emits.

The last condition (currentState == GONE && startedState == GONE) results in this flow emitting true when we're GONE. It needs to emit false as soon as we transition from GONE -> *.

This was happening most of the time when canIgnoreAuthAndReturnToGone emitted, but we can't rely on that to happen quickly enough since that flow maps wakefulness, not keyguard transition state.

Bug: 278086361
Test: quickly cancel sleep transition
Flag: com.android.systemui.keyguard_wm_state_refactor
Change-Id: I568c74029766681f2fcd8a8d90eca0d15a9d1cfa
parent fab46936
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment