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

Commit 2b372362 authored by Wei Sheng Shih's avatar Wei Sheng Shih Committed by Automerger Merge Worker
Browse files

Merge "Remove redundant checks that stop updating systemUI when entering...

Merge "Remove redundant checks that stop updating systemUI when entering dream" into rvc-dev am: a3a29967 am: 57319f59 am: 72ddc2a2 am: 07cf910a

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

Change-Id: I97f8c28f9cf439540aea1ee6390c9251122265cd
parents 506da753 07cf910a
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -3299,16 +3299,6 @@ public class DisplayPolicy {
            }
        }
        final WindowState win = winCandidate;
        if (win.getAttrs().type == TYPE_NOTIFICATION_SHADE && isKeyguardShowing()
                && isKeyguardOccluded()) {
            // We are updating at a point where the keyguard has gotten
            // focus, but we were last in a state where the top window is
            // hiding it.  This is probably because the keyguard as been
            // shown while the top window was displayed, so we want to ignore
            // it here because this is just a very transient change and it
            // will quickly lose focus once it correctly gets hidden.
            return 0;
        }

        mDisplayContent.getInsetsPolicy().updateBarControlTarget(win);