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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user