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

Commit 74eef034 authored by Rob Carr's avatar Rob Carr Committed by android-build-merger
Browse files

Merge "SurfaceView: Fix positioning issue when toggling visibility." into oc-dev

am: 70f1565b

Change-Id: I44d9fbff5eb3928ab7bafed112daef4a6de79a3f
parents f0144a66 70f1565b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -838,6 +838,8 @@ public class SurfaceView extends View implements ViewRootImpl.WindowStoppedCallb
            Log.d(TAG, String.format("%d windowPositionLost, frameNr = %d",
                    System.identityHashCode(this), frameNumber));
        }
        mRTLastReportedPosition.setEmpty();

        if (mSurfaceControl == null) {
            return;
        }
@@ -858,7 +860,6 @@ public class SurfaceView extends View implements ViewRootImpl.WindowStoppedCallb
                    Log.e(TAG, "Exception configuring surface", ex);
                }
            }
            mRTLastReportedPosition.setEmpty();
        }
    }