public void setDestructionPolicy(DestructionPolicy destructionPolicy) {
        this.destructionPolicy = destructionPolicy;
    }
Sets the current destruction policy, destruction policy {@link DestructionPolicy#KEEP_WHEN_FINISH} ensures that we protect the app state
using {@link GameState#legacyApplication} static memory when the activity finishes, while
{@link DestructionPolicy#DESTROY_WHEN_FINISH} destroys the game context with the activity onDestroy().
Default value is : {@link DestructionPolicy#DESTROY_WHEN_FINISH}.

@param destructionPolicy a destruction policy to set.
@see DestructionPolicy
@see GameState
jme3-android/src/main/java/com/jme3/view/surfaceview/JmeSurfaceView.java