Merge "Don't consider app as top app if alpha = 0" into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
4a2be133d4
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user