Merge pull request #9230 from JosJuice/android-savesettings-onstop
Android: Call saveSettings in EmulationActivity.onStop
This commit is contained in:
commit
98726400bc
|
@ -257,7 +257,6 @@ public final class EmulationActivity extends AppCompatActivity
|
||||||
{
|
{
|
||||||
if (!isChangingConfigurations())
|
if (!isChangingConfigurations())
|
||||||
{
|
{
|
||||||
mSettings.saveSettings(null, null);
|
|
||||||
mEmulationFragment.saveTemporaryState();
|
mEmulationFragment.saveTemporaryState();
|
||||||
}
|
}
|
||||||
outState.putStringArray(EXTRA_SELECTED_GAMES, mPaths);
|
outState.putStringArray(EXTRA_SELECTED_GAMES, mPaths);
|
||||||
|
@ -302,6 +301,7 @@ public final class EmulationActivity extends AppCompatActivity
|
||||||
protected void onStop()
|
protected void onStop()
|
||||||
{
|
{
|
||||||
super.onStop();
|
super.onStop();
|
||||||
|
mSettings.saveSettings(null, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onTitleChanged()
|
public void onTitleChanged()
|
||||||
|
|
Loading…
Reference in New Issue