From b90494d2a15bc89ba558c25e6145b3a46d950761 Mon Sep 17 00:00:00 2001 From: Beverly Date: Fri, 9 Jul 2021 13:22:20 -0400 Subject: [PATCH] Don't animate weight to 0 on face unlock bypass The transition happens so fast, you can barely see the weight animation, so let's not animate it. Test: manual Fixes: 192352151 Change-Id: Ie7430d6ab3ab0675826005125f87db03886ddc48 --- .../keyguard/AnimatableClockController.java | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java b/packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java index fcf4e4703ed3c..c89cda98c8a54 100644 --- a/packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java +++ b/packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java @@ -21,7 +21,6 @@ import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.graphics.Color; -import android.hardware.biometrics.BiometricSourceType; import android.icu.text.NumberFormat; import com.android.settingslib.Utils; @@ -94,9 +93,7 @@ public class AnimatableClockController extends ViewController { - return mStatusBarStateController.isDozing(); - }); + mView.animateCharge(mStatusBarStateController::isDozing); } mIsCharging = charging; } @@ -126,22 +123,11 @@ public class AnimatableClockController extends ViewController