Merge "Fix incorrect SV calculation in non-RT codepath." into oc-dr1-dev

This commit is contained in:
Rob Carr
2017-07-20 18:32:31 +00:00
committed by Android (Google) Code Review

View File

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