Use fadeoutDuration in keyguard fadeout

It was mistakenly removed in ag/18368628

Test: manual
Bug: 234593480
Change-Id: Ia933ef5eb2fbeec0195bf829286e468a644ee838
This commit is contained in:
Beverly
2022-06-08 15:34:50 +00:00
committed by Beverly Tai
parent 20de84c795
commit 0cdb156998
2 changed files with 2 additions and 1 deletions

View File

@@ -3806,6 +3806,7 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener, Dumpab
pw.println(" enabledByUser=" + mBiometricEnabledForUser.get(userId));
pw.println(" mSecureCameraLaunched=" + mSecureCameraLaunched);
pw.println(" mBouncerFullyShown=" + mBouncerFullyShown);
pw.println(" mNeedsSlowUnlockTransition=" + mNeedsSlowUnlockTransition);
}
mListenModels.print(pw);

View File

@@ -831,7 +831,7 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb
executeAfterKeyguardGoneAction();
boolean wakeUnlockPulsing =
mBiometricUnlockController.getMode() == MODE_WAKE_AND_UNLOCK_PULSING;
mCentralSurfaces.setKeyguardFadingAway(startTime, delay, 0);
mCentralSurfaces.setKeyguardFadingAway(startTime, delay, fadeoutDuration);
mBiometricUnlockController.startKeyguardFadingAway();
hideBouncer(true /* destroyView */);
if (wakeUnlockPulsing) {