From 27e2efeeeb88fc25ea6f68f42dd945ae053a4fd6 Mon Sep 17 00:00:00 2001 From: Beverly Date: Thu, 20 May 2021 15:14:32 -0400 Subject: [PATCH] Forward fix/revert of clock detached state on keyguard visibility This reverts most of ag/14554008. The keyguard visibility state isn't updated immediatly when dozing begins, so we need to make sure we're still registered for the StatusBarStateControllerListener for dozing state so that the clock is in the correct state when entering AOD. Test: manual, enter AOD from the home screen on timeout Fixes: 188592929 Change-Id: Idf19bc86b11e3423ffdf1ed6e12ef52ea68d8881 --- .../keyguard/AnimatableClockController.java | 50 +++++++------------ 1 file changed, 18 insertions(+), 32 deletions(-) diff --git a/packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java b/packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java index 332de6c6cb40e..7cb4846cf7e76 100644 --- a/packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java +++ b/packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java @@ -54,8 +54,8 @@ public class AnimatableClockController extends ViewController