Handle DeadObjectExeption when changing users
Bug: 254633479 Test: manual verification Change-Id: I40bd60bcb20078d548dd59d03ac612ef4a80b2c6
This commit is contained in:
@@ -829,7 +829,11 @@ class KeyguardUnlockAnimationController @Inject constructor(
|
||||
surfaceBehindEntryAnimator.cancel()
|
||||
surfaceBehindAlpha = 1f
|
||||
setSurfaceBehindAppearAmount(1f)
|
||||
launcherUnlockController?.setUnlockAmount(1f, false /* forceIfAnimating */)
|
||||
try {
|
||||
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.
|
||||
surfaceBehindRemoteAnimationTargets = null
|
||||
|
||||
Reference in New Issue
Block a user