diff --git a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardUnlockAnimationController.kt b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardUnlockAnimationController.kt index d634030337230..c686b48278a39 100644 --- a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardUnlockAnimationController.kt +++ b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardUnlockAnimationController.kt @@ -216,13 +216,6 @@ class KeyguardUnlockAnimationController @Inject constructor( */ override fun setLauncherUnlockController(callback: ILauncherUnlockAnimationController?) { launcherUnlockController = callback - - // If the provided callback dies, set it to null. We'll always check whether it's null - // to avoid DeadObjectExceptions. - callback?.asBinder()?.linkToDeath({ - launcherUnlockController = null - launcherSmartspaceState = null - }, 0 /* flags */) } /**