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

Commit 58c01846 authored by Robert Carr's avatar Robert Carr
Browse files

WindowState: Correct simple scaling error

We failed to record the scale we actually set at the caching level
leading to confusion.

Bug: 191947432
Test: Open app from bug, lock screen.
Change-Id: I13bf6a1821f235271ca0efa5dde1cae6a3b4d72c
parent a82ece06
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -5477,8 +5477,8 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
            getPendingTransaction().setMatrix(getSurfaceControl(),
                newHScale, 0, 0, newVScale);
            mLastGlobalScale = mGlobalScale;
            mLastHScale = mHScale;
            mLastVScale = mVScale;
            mLastHScale = newHScale;
            mLastVScale = newVScale;
        }
    }