protected void addGlSurfaceView() {
        /*jme Renderer joins the UIThread at that point*/
        JmeSurfaceView.this.addView(glSurfaceView);
        /*dispatch the layout drawn event*/
        if (onLayoutDrawn != null) {
            onLayoutDrawn.onLayoutDrawn(legacyApplication, this);
        }
        /*set the static memory to hold the game state, only if the destruction policy uses KEEP_WHEN_FINISHED policy*/
        if (destructionPolicy == DestructionPolicy.KEEP_WHEN_FINISH) {
            GameState.setLegacyApplication(legacyApplication);
        } else {
            GameState.setLegacyApplication(null);
        }
    }
Adds the glSurfaceView to the screen immediately, saving the current app instance.
jme3-android/src/main/java/com/jme3/view/surfaceview/JmeSurfaceView.java