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

Commit 16ddd9e8 authored by Brad Hinegardner's avatar Brad Hinegardner
Browse files

Handle DeadObjectExeption when changing users

Bug: 254633479
Test: manual verification
Change-Id: I40bd60bcb20078d548dd59d03ac612ef4a80b2c6
parent 5b7da895
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -829,7 +829,11 @@ class KeyguardUnlockAnimationController @Inject constructor(
        surfaceBehindEntryAnimator.cancel()
        surfaceBehindAlpha = 1f
        setSurfaceBehindAppearAmount(1f)
        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