Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb6353be authored by Josh Tsuji's avatar Josh Tsuji Committed by Android (Google) Code Review
Browse files

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

parents 13a28fff 63c3a28a
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -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 */)
    }

    /**