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
3 files changed