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

Commit fc5508bc authored by Jack Palevich's avatar Jack Palevich
Browse files

Do not exit the GLSurfaceView thread when detached from a window.

Allows a GLSurfaceView to be removed from a window and later reattached
to a window.

Change-Id: I2b44f35d0c95404b13912782df8877953609a5d0
parent fc6d54ea
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -530,7 +530,6 @@ public class GLSurfaceView extends SurfaceView implements SurfaceHolder.Callback
    @Override
    protected void onDetachedFromWindow() {
        super.onDetachedFromWindow();
        mGLThread.requestExitAndWait();
    }

    // ----------------------------------------------------------------------