Merge "Remove linkToDeath from KeyguardUnlockAnimationController." into tm-dev
This commit is contained in:
@@ -216,13 +216,6 @@ class KeyguardUnlockAnimationController @Inject constructor(
|
|||||||
*/
|
*/
|
||||||
override fun setLauncherUnlockController(callback: ILauncherUnlockAnimationController?) {
|
override fun setLauncherUnlockController(callback: ILauncherUnlockAnimationController?) {
|
||||||
launcherUnlockController = callback
|
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