Permalink
Browse files

Merge pull request #7521 from JosJuice/android-rotate-savestate

Android: Don't create a savestate when rotating
  • Loading branch information...
JosJuice committed Oct 27, 2018
2 parents d0c29f8 + ce640e1 commit dd922660c9fdc466c707049888a24dfea0fb4c8c
@@ -340,7 +340,10 @@ public void onError()
@Override
protected void onSaveInstanceState(Bundle outState)
{
mEmulationFragment.saveTemporaryState();
if (!isChangingConfigurations())
{
mEmulationFragment.saveTemporaryState();
}
outState.putString(EXTRA_SELECTED_GAME, mPath);
outState.putString(EXTRA_SELECTED_TITLE, mSelectedTitle);
outState.putInt(EXTRA_PLATFORM, mPlatform);

0 comments on commit dd92266

Please sign in to comment.