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

Commit 7835d4fb authored by Jean-Baptiste Queru's avatar Jean-Baptiste Queru Committed by android code review
Browse files

Merge "Fix SurfaceView notifies on invalid surfaces."

parents 0be33f2d f750b8ce
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -531,7 +531,7 @@ public class SurfaceView extends View {

                    mSurface.transferFrom(mNewSurface);

                    if (visible) {
                    if (visible && mSurface.isValid()) {
                        if (!mSurfaceCreated && (surfaceChanged || visibleChanged)) {
                            mSurfaceCreated = true;
                            mIsCreating = true;