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

Commit a3e5164c authored by Tyler Gunn's avatar Tyler Gunn Committed by android-build-merger
Browse files

Merge "IMS-VT: Do not create new surface when setting surface dimensions" into nyc-dev

am: 73fb5b37

* commit '73fb5b37':
  IMS-VT: Do not create new surface when setting surface dimensions
parents 3868a4a9 73fb5b37
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -371,9 +371,10 @@ public class VideoCallFragment extends BaseFragment<VideoCallPresenter,
            mWidth = width;
            mHeight = height;

            if (mSavedSurfaceTexture != null) {
            if (width != DIMENSIONS_NOT_SET && height != DIMENSIONS_NOT_SET
                    && mSavedSurfaceTexture != null) {
                Log.d(this, "setSurfaceDimensions, mSavedSurfaceTexture is NOT equal to null.");
                createSurface(width, height);
                mSavedSurfaceTexture.setDefaultBufferSize(width, height);
            }
        }