Fix incorrect SV calculation in non-RT codepath.
We were using width/height as top/bottom...not much more to it than that :). Bug: 62752640 Test: go/wm-smoke Change-Id: I57f081b4fab555f0f551e753618725bdd3780305
This commit is contained in:
@@ -729,7 +729,7 @@ public class SurfaceView extends View implements ViewRootImpl.WindowStoppedCallb
|
||||
mLocation[1] = getHeight();
|
||||
|
||||
mScreenRect.set(mWindowSpaceLeft, mWindowSpaceTop,
|
||||
mLocation[0], mLocation[1]);
|
||||
mWindowSpaceLeft + mLocation[0], mWindowSpaceTop + mLocation[1]);
|
||||
|
||||
if (mTranslator != null) {
|
||||
mTranslator.translateRectInAppWindowToScreen(mScreenRect);
|
||||
|
||||
Reference in New Issue
Block a user