diff --git a/packages/SystemUI/src/com/android/keyguard/KeyguardPINView.java b/packages/SystemUI/src/com/android/keyguard/KeyguardPINView.java index 1efda7edee2f8..77044ed33113a 100644 --- a/packages/SystemUI/src/com/android/keyguard/KeyguardPINView.java +++ b/packages/SystemUI/src/com/android/keyguard/KeyguardPINView.java @@ -188,14 +188,13 @@ public class KeyguardPINView extends KeyguardPinBasedInputView { enableClipping(false); setTranslationY(0); - AppearAnimationUtils.startTranslationYAnimation(this, 0 /* delay */, 280 /* duration */, - mDisappearYTranslation, mDisappearAnimationUtils.getInterpolator(), - getAnimationListener(InteractionJankMonitor.CUJ_LOCKSCREEN_PIN_DISAPPEAR)); DisappearAnimationUtils disappearAnimationUtils = needsSlowUnlockTransition ? mDisappearAnimationUtilsLocked : mDisappearAnimationUtils; - disappearAnimationUtils.startAnimation2d(mViews, - () -> { + disappearAnimationUtils.createAnimation( + this, 0, 200, mDisappearYTranslation, false, + mDisappearAnimationUtils.getInterpolator(), () -> { + getAnimationListener(InteractionJankMonitor.CUJ_LOCKSCREEN_PIN_DISAPPEAR); enableClipping(true); if (finishRunnable != null) { finishRunnable.run();