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

Commit 88a42921 authored by Jean-Baptiste Queru's avatar Jean-Baptiste Queru Committed by Android Git Automerger
Browse files

am 807c7ae0: am 7835d4fb: Merge "Fix SurfaceView notifies on invalid surfaces."

* commit '807c7ae0':
  Fix SurfaceView notifies on invalid surfaces.
parents b6039811 807c7ae0
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;