Android: make sure surfaceChanged try to enter into 'resumed' state.
This commit is contained in:
parent
2eef9b9e2f
commit
2e4e3d974e
1 changed files with 1 additions and 0 deletions
|
@ -1683,6 +1683,7 @@ class SDLSurface extends SurfaceView implements SurfaceHolder.Callback,
|
|||
/* If the surface has been previously destroyed by onNativeSurfaceDestroyed, recreate it here */
|
||||
SDLActivity.onNativeSurfaceChanged();
|
||||
|
||||
SDLActivity.mNextNativeState = SDLActivity.NativeState.RESUMED;
|
||||
SDLActivity.handleNativeState();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue