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

Commit 522f630e authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Don't show ImmersiveMode notification message for windows that have a...

Merge "Don't show ImmersiveMode notification message for windows that have a z-index higher than TYPE_STATUS_BAR." into udc-qpr-dev
parents 8483e8d4 2eef737a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2588,7 +2588,8 @@ public class DisplayPolicy {
        if (win == null) {
            return false;
        }
        if (win == getNotificationShade() || win.isActivityTypeDream()) {
        if (win.mPolicy.getWindowLayerLw(win) > win.mPolicy.getWindowLayerFromTypeLw(
                WindowManager.LayoutParams.TYPE_STATUS_BAR) || win.isActivityTypeDream()) {
            return false;
        }
        return getInsetsPolicy().hasHiddenSources(Type.navigationBars());