Merge "Handle DeadObjectExeption when changing users" into tm-qpr-dev

This commit is contained in:
Brad Hinegardner
2022-12-07 19:38:49 +00:00
committed by Android (Google) Code Review

View File

@@ -829,7 +829,11 @@ class KeyguardUnlockAnimationController @Inject constructor(
surfaceBehindEntryAnimator.cancel() surfaceBehindEntryAnimator.cancel()
surfaceBehindAlpha = 1f surfaceBehindAlpha = 1f
setSurfaceBehindAppearAmount(1f) setSurfaceBehindAppearAmount(1f)
try {
launcherUnlockController?.setUnlockAmount(1f, false /* forceIfAnimating */) launcherUnlockController?.setUnlockAmount(1f, false /* forceIfAnimating */)
} catch (e: RemoteException) {
Log.e(TAG, "Remote exception in notifyFinishedKeyguardExitAnimation", e)
}
// That target is no longer valid since the animation finished, null it out. // That target is no longer valid since the animation finished, null it out.
surfaceBehindRemoteAnimationTargets = null surfaceBehindRemoteAnimationTargets = null