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

Commit c3cbff33 authored by Phil Weaver's avatar Phil Weaver
Browse files

Don't display new suppressed overlays

Bug: 62196835
Test: With an accessibility service that shows app overlays, I
can no longer display an overlay over the accessibility
capabilities dialog that uses the flag to suppress non-system
overlays.

Change-Id: I7078288afec7d280e03560a691f06f5e2b0dda19
parent 6f76e7f9
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1445,6 +1445,9 @@ public class WindowManagerService extends IWindowManager.Stub
                }
            }

            final boolean hideSystemAlertWindows = !mHidingNonSystemOverlayWindows.isEmpty();
            win.setForceHideNonSystemOverlayWindowIfNeeded(hideSystemAlertWindows);

            final AppWindowToken aToken = token.asAppWindowToken();
            if (type == TYPE_APPLICATION_STARTING && aToken != null) {
                aToken.startingWindow = win;