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

Skip to content
Commit b04b4ad9 authored by Beverly's avatar Beverly Committed by Beverly Tai
Browse files

Call `maybeHandlePendingLock` when GONE => AOD is finished

When the `migrate_clocks_to_blueprint` flag isn't enabled,
`maybeHandlePendingLock` is called after the keyguard is animated.

However, with the flag enabled, animateKeyguardIn is no longer called
(instead animations are directly handled by the transition view models).
Therefore, let's make sure the keyguard state is still updated to showing
once the animation from GONE => AOD is finished by calling
`maybeHandlePendingLock` when the GONE => AOD animation is finished.

Note: if the animation gets cancelled, this path is handled by
logic in `KeyguardViewMediator#onStartedWakingUp` (like when the flag is
not enabled).

Test: manually check isKeyguardShowing state on AOD
Fixes: 329642162
Flag: ACONFIG com.android.systemui.migrate_clocks_to_blueprint TEAMFOOD
Change-Id: I90d3c31faeb4ab82cee998976298cc456732379d
parent 15dae8dc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment