summaryrefslogtreecommitdiff
path: root/packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java
diff options
context:
space:
mode:
authorMatt Pietal <mpietal@google.com>2021-05-14 15:02:13 -0400
committerMatt Pietal <mpietal@google.com>2021-05-14 15:02:13 -0400
commitacb528f2d738335880eea3257191d1fa67ab5c38 (patch)
tree33f1882c71495cc11e38090beaa0d41d051f1e79 /packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java
parent2188e5223796fcbedc3144c0e8681106fa261995 (diff)
Don't animate large clock appearance on AOD
Just don't do it. Fixes: 188205862 Test: manual Change-Id: I0e13658f1bd478dca55203ea5ccf40801859b56e
Diffstat (limited to 'packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java')
-rw-r--r--packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java b/packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java
index 4b9bf8c27f8a..5127fa7a26f3 100644
--- a/packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java
+++ b/packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java
@@ -133,7 +133,7 @@ public class AnimatableClockController extends ViewController<AnimatableClockVie
/** Animate the clock appearance */
public void animateAppear() {
- mView.animateAppear();
+ if (!mIsDozing) mView.animateAppearOnLockscreen();
}
/**