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

Skip to content
Commit d48bae09 authored by Josh Tsuji's avatar Josh Tsuji
Browse files

Support KeyguardService#showDismissibleKeyguard in keyguard_wm_state_refactor.

This CL is mostly renaming KeyguardLockWhileAwake and KeyguardLockNow to KeyguardShowWhileAwake/KeyguardServiceShowLockscreen to reflect that we're not necessarily locking the device.

The only logical changes are:
- KeyguardService asks KeyguardUpdateMonitor to delay locking instead of having KeyguardViewMediator do it, then calls KeyguardServiceShowLockscreenInteractor#onKeyguardServiceShowDismissibleKeyguard.
- That interactor now emits a ShowWhileAwakeReason, and an unused bundle is removed (didn't end up finding that actually was used).
- One collector of that flow (WakeDirectlyToGoneInteractor) filters out the fold events, the other just emits it into the existing showWhileAwakeEvents flow.

Fixes: 341400177
Test: fold my foldable
Flag: com.android.systemui.keyguard_wm_state_refactor
Change-Id: Ifd68d32326a221c420d2c3c1ecb3169391816021
parent 4979bc95
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