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

Commit ba6e1e5a authored by Robert Carr's avatar Robert Carr
Browse files

Fix resetting of wallpaper offset.

In the initial implementation I had hoped to eliminate
this call to set position, and when I had to add it back
I forgot to restore the wallpaper offseting. Anyway, setWallpaperOffset
sets this position and we need to make sure its not fighting with
setSurfaceBoundaries.

Bug: 74500386
Test: Manual. go/wm-smoke
Change-Id: Iac5d157090ea512acbe4892d57eee6e1e423f18d
parent a9e73469
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -981,7 +981,7 @@ class WindowStateAnimator {
            mForceScaleUntilResize = true;
        } else {
            if (!w.mSeamlesslyRotated) {
                mSurfaceController.setPositionInTransaction(0, 0, recoveringMemory);
                mSurfaceController.setPositionInTransaction(mXOffset, mYOffset, recoveringMemory);
            }
        }