summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Brad Hinegardner <bhinegardner@google.com> 2022-12-07 19:38:49 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2022-12-07 19:38:49 +0000
commitba0a4d1647daaa16a53ee9e3efe15ece246ed50c (patch)
tree356f635f333b8af01d4084700847d8812b90b40a
parent2632266bffefc50c7b08a62cb17d23e1c22157ac (diff)
parent16ddd9e807a1d67ee40590d430f700091de01c76 (diff)
Merge "Handle DeadObjectExeption when changing users" into tm-qpr-dev
-rw-r--r--packages/SystemUI/src/com/android/systemui/keyguard/KeyguardUnlockAnimationController.kt6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardUnlockAnimationController.kt b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardUnlockAnimationController.kt
index a908e943bbf5..0c46b23fd23e 100644
--- a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardUnlockAnimationController.kt
+++ b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardUnlockAnimationController.kt
@@ -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