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

Commit f9efac12 authored by Olawale Ogunwale's avatar Olawale Ogunwale Committed by Android Git Automerger
Browse files

am 5ef53783: Merge "WindowManagerService not propagating X and Y steps"

* commit '5ef53783':
  WindowManagerService not propagating X and Y steps
parents 59b24040 5ef53783
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -2206,6 +2206,16 @@ public class WindowManagerService extends IWindowManager.Stub
            } else if (changingTarget.mWallpaperDisplayOffsetY != Integer.MIN_VALUE) {
                mLastWallpaperDisplayOffsetY = changingTarget.mWallpaperDisplayOffsetY;
            }
            if (target.mWallpaperXStep >= 0) {
                mLastWallpaperXStep = target.mWallpaperXStep;
            } else if (changingTarget.mWallpaperXStep >= 0) {
                mLastWallpaperXStep = changingTarget.mWallpaperXStep;
            }
            if (target.mWallpaperYStep >= 0) {
                mLastWallpaperYStep = target.mWallpaperYStep;
            } else if (changingTarget.mWallpaperYStep >= 0) {
                mLastWallpaperYStep = changingTarget.mWallpaperYStep;
            }
        }

        int curTokenIndex = mWallpaperTokens.size();