Merge "Remove linkToDeath from KeyguardUnlockAnimationController." into tm-dev am: bb6353beb0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18874956 Change-Id: I00f3db3eef0c86ea2ab574c7fd788573782737b1 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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 */)
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user