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
This commit is contained in:
Robert Carr
2021-06-25 16:06:22 -07:00
parent a82ece06b2
commit 58c018463e

View File

@@ -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;
}
}