Merge "don't call setSize() when creating SurfaceControl"
This commit is contained in:
@@ -572,7 +572,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