Skip to content

Commit

Permalink
Android: make sure surfaceChanged try to enter into 'resumed' state.
Browse files Browse the repository at this point in the history
  • Loading branch information
1bsyl committed Jan 2, 2019
1 parent 4d2b5c7 commit a02998a
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -1683,6 +1683,7 @@ else if (requestedOrientation == ActivityInfo.SCREEN_ORIENTATION_PORTRAIT || req
/* If the surface has been previously destroyed by onNativeSurfaceDestroyed, recreate it here */
SDLActivity.onNativeSurfaceChanged();

SDLActivity.mNextNativeState = SDLActivity.NativeState.RESUMED;
SDLActivity.handleNativeState();
}

Expand Down

0 comments on commit a02998a

Please sign in to comment.