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

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

Merge "Ensure we update window scale when repositioning child."

parents 3e94c8bc 353ad63f
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -2528,10 +2528,12 @@ public class WindowManagerService extends IWindowManager.Stub
                            + "attached to a parent win=" + win);
                }

                win.mFrame.left = left;
                win.mFrame.top = top;
                win.mFrame.right = right;
                win.mFrame.bottom = bottom;
                win.mAttrs.x = left;
                win.mAttrs.y = top;
                win.mAttrs.width = right - left;
                win.mAttrs.height = bottom - top;

                win.setWindowScale(win.mRequestedWidth, win.mRequestedHeight);

                win.mWinAnimator.computeShownFrameLocked();