Merge "Fix window flags being assinged incorrectly when checking for changes"

This commit is contained in:
TreeHugger Robot
2019-07-31 23:40:29 +00:00
committed by Android (Google) Code Review

View File

@@ -2033,7 +2033,7 @@ public class WindowManagerService extends IWindowManager.Stub
attrs.height = win.mAttrs.height;
}
flagChanges = win.mAttrs.flags ^= attrs.flags;
flagChanges = win.mAttrs.flags ^ attrs.flags;
attrChanges = win.mAttrs.copyFrom(attrs);
if ((attrChanges & (WindowManager.LayoutParams.LAYOUT_CHANGED
| WindowManager.LayoutParams.SYSTEM_UI_VISIBILITY_CHANGED)) != 0) {