Merge "don't call setSize() when creating SurfaceControl" am: 57e98b19be
am: e332fe4b3d
Change-Id: I384dd4a03db135c703e3672037212a970d222689
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