Merge "Remove linkToDeath from KeyguardUnlockAnimationController." into tm-dev

This commit is contained in:
Josh Tsuji
2022-06-14 16:22:28 +00:00
committed by Android (Google) Code Review

View File

@@ -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 */)
}
/**