Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e332fe4b authored by youngmin0822.lee's avatar youngmin0822.lee Committed by android-build-merger
Browse files

Merge "don't call setSize() when creating SurfaceControl"

am: 57e98b19

Change-Id: Iec44550e5c18fa7d3005c8c79e607fc1bc656c13
parents 0519a19f 57e98b19
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 {