Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dcecad17 authored by Andreas Miko's avatar Andreas Miko Committed by Automerger Merge Worker
Browse files

Merge "Fix unlock jank - send `forceIfAnimating` only for biometric unlocks"...

Merge "Fix unlock jank - send `forceIfAnimating` only for biometric unlocks" into udc-qpr-dev am: 0eb2be8b

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/25008468



Change-Id: If17ff313658e0deb35dfcf06aad1cb6f8e0ed384
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 50470c41 0eb2be8b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -443,7 +443,8 @@ class KeyguardUnlockAnimationController @Inject constructor(
        if (!keyguardStateController.isKeyguardGoingAway &&
                willUnlockWithInWindowLauncherAnimations) {
            try {
                launcherUnlockController?.setUnlockAmount(1f, true /* forceIfAnimating */)
                launcherUnlockController?.setUnlockAmount(1f,
                        biometricUnlockControllerLazy.get().isWakeAndUnlock /* forceIfAnimating */)
            } catch (e: DeadObjectException) {
                Log.e(TAG, "launcherUnlockAnimationController was dead, but non-null in " +
                        "onKeyguardGoingAwayChanged(). Catching exception as this should mean " +