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

Commit 3465d294 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...

Merge "Fix wrong candidate window when display immersive_mode_confirm." into rvc-dev am: 0bf88c5a am: 49b350a4 am: a63f796e am: 01268c2e

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

Change-Id: Ie2326e7aba50111c22f84f7df540a917420a4485
parents 858d9cb6 01268c2e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3428,7 +3428,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) {