Merge "don't call setSize() when creating SurfaceControl"
am: 57e98b19be
Change-Id: Iec44550e5c18fa7d3005c8c79e607fc1bc656c13
This commit is contained in:
@@ -579,7 +579,7 @@ public class SurfaceView extends View implements ViewRootImpl.WindowStoppedCallb
|
||||
0.0f, 0.0f,
|
||||
mScreenRect.height() / (float) mSurfaceHeight);
|
||||
}
|
||||
if (sizeChanged) {
|
||||
if (sizeChanged && !creating) {
|
||||
mSurfaceControl.setSize(mSurfaceWidth, mSurfaceHeight);
|
||||
}
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user