Merge "Remove linkToDeath from KeyguardUnlockAnimationController." into tm-dev am: bb6353beb0 am: 37967e6a7c

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18874956

Change-Id: I38d0075b7a27d7be8ce2299cb696b487f319d368
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Josh Tsuji
2022-06-14 16:59:06 +00:00
committed by Automerger Merge Worker

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