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

Commit b595d2a0 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

am: 054a99d0

Change-Id: I00fa7330cb0f5452c1d1c11323cf13981c3355fb
parents 793f0a39 054a99d0
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -5261,7 +5261,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
    @Override
    @Override
    public void applyPostLayoutPolicyLw(WindowState win, WindowManager.LayoutParams attrs,
    public void applyPostLayoutPolicyLw(WindowState win, WindowManager.LayoutParams attrs,
            WindowState attached, WindowState imeTarget) {
            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);
        if (DEBUG_LAYOUT) Slog.i(TAG, "Win " + win + ": isVisible=" + visible);
        applyKeyguardPolicyLw(win, imeTarget);
        applyKeyguardPolicyLw(win, imeTarget);
        final int fl = PolicyControl.getWindowFlags(win, attrs);
        final int fl = PolicyControl.getWindowFlags(win, attrs);