From 48c8cd41c615875b95cccce38019498460ed7541 Mon Sep 17 00:00:00 2001 From: Adrian Roos Date: Thu, 11 May 2017 11:46:59 -0700 Subject: [PATCH] AOD: Fix wakeup animation duration Wakeup animation duration was introduced in one CL, but was not visible to the other CL, now that both CLs have been merged fix up the duration. Fixes: 34716110 Test: Trigger Ambient Display, turn on device, observe that both the clock and panel animation take the same time. Change-Id: I310ba9c5be2e6ddd4fdf0a793eadb687e100aacd --- .../android/systemui/statusbar/phone/NotificationPanelView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java index c5853ca7d3287..6a9bfaec1d94b 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java @@ -2499,7 +2499,7 @@ public class NotificationPanelView extends PanelView implements if (animate) { mDarkAnimator = ObjectAnimator.ofFloat(this, SET_DARK_AMOUNT_PROPERTY, darkAmount); mDarkAnimator.setInterpolator(Interpolators.LINEAR_OUT_SLOW_IN); - mDarkAnimator.setDuration(StackStateAnimator.ANIMATION_DURATION_STANDARD); + mDarkAnimator.setDuration(StackStateAnimator.ANIMATION_DURATION_WAKEUP); mDarkAnimator.start(); } else { setDarkAmount(darkAmount);