Merge pull request #9230 from JosJuice/android-savesettings-onstop

Android: Call saveSettings in EmulationActivity.onStop
This commit is contained in:
LC 2020-11-09 02:15:21 -05:00 committed by GitHub
commit 98726400bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -257,7 +257,6 @@ public final class EmulationActivity extends AppCompatActivity
{
if (!isChangingConfigurations())
{
mSettings.saveSettings(null, null);
mEmulationFragment.saveTemporaryState();
}
outState.putStringArray(EXTRA_SELECTED_GAMES, mPaths);
@ -302,6 +301,7 @@ public final class EmulationActivity extends AppCompatActivity
protected void onStop()
{
super.onStop();
mSettings.saveSettings(null, null);
}
public void onTitleChanged()