Merge "SurfaceView: Fix positioning issue when toggling visibility." into oc-dev

am: 70f1565b55

Change-Id: Id6fa287aa7c7edb2fd59a3bcbeef2aade35961e7
This commit is contained in:
Rob Carr
2017-06-21 01:56:41 +00:00
committed by android-build-merger

View File

@@ -838,6 +838,8 @@ public class SurfaceView extends View implements ViewRootImpl.WindowStoppedCallb
Log.d(TAG, String.format("%d windowPositionLost, frameNr = %d",
System.identityHashCode(this), frameNumber));
}
mRTLastReportedPosition.setEmpty();
if (mSurfaceControl == null) {
return;
}
@@ -858,7 +860,6 @@ public class SurfaceView extends View implements ViewRootImpl.WindowStoppedCallb
Log.e(TAG, "Exception configuring surface", ex);
}
}
mRTLastReportedPosition.setEmpty();
}
}