Merge "AOD: Fix wakeup animation duration" into oc-dev

This commit is contained in:
TreeHugger Robot
2017-05-11 21:18:28 +00:00
committed by Android (Google) Code Review

View File

@@ -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);