Revert "Revert "Add CUJ tracking in animation listener.""
This reverts commit 426f5089c9.
Reason for revert: there is nothing wrong with this cl
Change-Id: I2f42bae6ba6b21206a1ea3ad243d4771c466ae97
This commit is contained in:
committed by
Android (Google) Code Review
parent
426f5089c9
commit
60b31357b3
@@ -16,6 +16,7 @@
|
||||
|
||||
package com.android.keyguard;
|
||||
|
||||
import static com.android.internal.jank.InteractionJankMonitor.CUJ_LOCKSCREEN_PIN_APPEAR;
|
||||
import static com.android.internal.jank.InteractionJankMonitor.CUJ_LOCKSCREEN_PIN_DISAPPEAR;
|
||||
import static com.android.systemui.statusbar.policy.DevicePostureController.DEVICE_POSTURE_HALF_OPENED;
|
||||
import static com.android.systemui.statusbar.policy.DevicePostureController.DEVICE_POSTURE_UNKNOWN;
|
||||
@@ -184,6 +185,7 @@ public class KeyguardPINView extends KeyguardPinBasedInputView {
|
||||
}
|
||||
mAppearAnimator.setDuration(ANIMATION_DURATION);
|
||||
mAppearAnimator.addUpdateListener(animation -> animate(animation.getAnimatedFraction()));
|
||||
mAppearAnimator.addListener(getAnimationListener(CUJ_LOCKSCREEN_PIN_APPEAR));
|
||||
mAppearAnimator.start();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user