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

Commit 49b350a4 authored by Wale Ogunwale's avatar Wale Ogunwale Committed by Automerger Merge Worker
Browse files

Merge "Fix wrong candidate window when display immersive_mode_confirm." into rvc-dev am: 0bf88c5a

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12166481

Change-Id: I41b05782363a791895152060bcb0f6d58128704f
parents 01b7ac20 0bf88c5a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3292,7 +3292,7 @@ public class DisplayPolicy {
            // keys, we let it keep controlling the visibility.
            final boolean lastFocusCanReceiveKeys =
                    (mLastFocusedWindow != null && mLastFocusedWindow.canReceiveKeys());
            winCandidate = isKeyguardShowing() ? mNotificationShade
            winCandidate = isKeyguardShowing() && !isKeyguardOccluded() ? mNotificationShade
                    : lastFocusCanReceiveKeys ? mLastFocusedWindow
                            : mTopFullscreenOpaqueWindowState;
            if (winCandidate == null) {