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

Commit ec69e383 authored by Automerger Merge Worker's avatar Automerger Merge Worker Committed by Android (Google) Code Review
Browse files

Merge "Merge "Catch one more DeadObjectException." into udc-dev am: 459425f6...

Merge "Merge "Catch one more DeadObjectException." into udc-dev am: 459425f6 am: c81df6c8 am: badd2223" into udc-qpr-dev-plus-aosp
parents 66531bcb 130b8676
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
@@ -33,10 +33,10 @@ import android.view.SyncRtSurfaceTransactionApplier
import android.view.View
import androidx.annotation.VisibleForTesting
import androidx.core.math.MathUtils
import com.android.app.animation.Interpolators
import com.android.internal.R
import com.android.keyguard.KeyguardClockSwitchController
import com.android.keyguard.KeyguardViewController
import com.android.app.animation.Interpolators
import com.android.systemui.dagger.SysUISingleton
import com.android.systemui.flags.FeatureFlags
import com.android.systemui.flags.Flags
@@ -433,7 +433,14 @@ class KeyguardUnlockAnimationController @Inject constructor(
        // animate state.
        if (!keyguardStateController.isKeyguardGoingAway &&
                willUnlockWithInWindowLauncherAnimations) {
            try {
                launcherUnlockController?.setUnlockAmount(1f, true /* forceIfAnimating */)
            } catch (e: DeadObjectException) {
                Log.e(TAG, "launcherUnlockAnimationController was dead, but non-null in " +
                        "onKeyguardGoingAwayChanged(). Catching exception as this should mean " +
                        "Launcher is in the process of being destroyed, but the IPC to System UI " +
                        "telling us hasn't arrived yet.")
            }
        }
    }