diff options
| author | 2025-03-24 10:40:44 +0400 | |
|---|---|---|
| committer | 2025-03-24 10:46:23 +0400 | |
| commit | 6b584af3f3b8f326eae0b332bbaed5167d966115 (patch) | |
| tree | e2fa5df83ca5f77c09ba81e3dedb4b530a3c5292 /libs/androidfw/FileStream.cpp | |
| parent | fab469369e825fb1e298979a75833ec5dff178b7 (diff) | |
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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions