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

Commit 28e9960d authored by Vishnu Nair's avatar Vishnu Nair
Browse files

Fix window flags being assinged incorrectly when checking for changes

Test: go/wm-smoke
Test: presubmit tests
Change-Id: I3d382e261dfb890fa8fbe4f3f6cc9f0cb3c99713
parent c7487391
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) {