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

Commit f4fe424c authored by Matt Pietal's avatar Matt Pietal Committed by Android (Google) Code Review
Browse files

Merge "Support direct calls to go away" into main

parents 6a6970b1 f86aaab3
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -3377,6 +3377,12 @@ public class KeyguardViewMediator implements CoreStartable,
        Log.d(TAG, "handleStartKeyguardExitAnimation startTime=" + startTime
                + " fadeoutDuration=" + fadeoutDuration);
        int currentUserId = mSelectedUserInteractor.getSelectedUserId();

        // Requests to exit directly from WM are valid if the lockscreen can be dismissed
        if (mKeyguardStateController.canDismissLockScreen()) {
            mLastHideRequest = mLastShowRequest;
        }

        String error = null;
        if (mGoingAwayRequestedForUserId != currentUserId) {
            error = "Not executing handleStartKeyguardExitAnimationInner() due to userId "