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

Commit 57e98b19 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

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

parents c77d25e4 4dde7d19
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 {