Fix window flags being assinged incorrectly when checking for changes

Test: go/wm-smoke
Test: presubmit tests
Change-Id: I3d382e261dfb890fa8fbe4f3f6cc9f0cb3c99713
This commit is contained in:
Vishnu Nair
2019-07-31 13:34:18 -07:00
parent c7487391b0
commit 28e9960de1

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) {