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

Commit 054a99d0 authored by Jorim Jaggi's avatar Jorim Jaggi Committed by android-build-merger
Browse files

Merge "Don't consider app as top app if alpha = 0" into oc-dev

am: 4a2be133

Change-Id: Ibd7f89a49154bbf0bf89a5baa301e7912cf8db89
parents e20f42b8 4a2be133
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5238,7 +5238,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
    @Override
    public void applyPostLayoutPolicyLw(WindowState win, WindowManager.LayoutParams attrs,
            WindowState attached, WindowState imeTarget) {
        final boolean visible = !win.isGoneForLayoutLw();
        final boolean visible = !win.isGoneForLayoutLw() && win.getAttrs().alpha > 0f;
        if (DEBUG_LAYOUT) Slog.i(TAG, "Win " + win + ": isVisible=" + visible);
        applyKeyguardPolicyLw(win, imeTarget);
        final int fl = PolicyControl.getWindowFlags(win, attrs);