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

Commit 481355a4 authored by Rob Carr's avatar Rob Carr Committed by Android (Google) Code Review
Browse files

Merge "Use privateFlags for the preserve geometry check" into nyc-dev

parents 37953309 b5e36b7f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2626,7 +2626,8 @@ public class WindowManagerService extends IWindowManager.Stub
                }

                // Odd choice but less odd than embedding in copyFrom()
                if ((attrs.flags & WindowManager.LayoutParams.PRIVATE_FLAG_PRESERVE_GEOMETRY) != 0) {
                if ((attrs.privateFlags & WindowManager.LayoutParams.PRIVATE_FLAG_PRESERVE_GEOMETRY)
                        != 0) {
                    attrs.x = win.mAttrs.x;
                    attrs.y = win.mAttrs.y;
                    attrs.width = win.mAttrs.width;