Merge pull request #10344 from JosJuice/android-no-retain-instance

Android: Remove all setRetainInstance calls
This commit is contained in:
JMC47 2022-01-04 10:39:22 -05:00 committed by GitHub
commit 500e02dcfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 4 deletions

View File

@ -100,7 +100,6 @@ public final class SettingsFragment extends Fragment implements SettingsFragment
{
super.onCreate(savedInstanceState);
setRetainInstance(true);
Bundle args = getArguments();
MenuTag menuTag = (MenuTag) args.getSerializable(ARGUMENT_MENU_TAG);
String gameId = getArguments().getString(ARGUMENT_GAME_ID);

View File

@ -75,9 +75,6 @@ public final class EmulationFragment extends Fragment implements SurfaceHolder.C
{
super.onCreate(savedInstanceState);
// So this fragment doesn't restart on configuration changes; i.e. rotation.
setRetainInstance(true);
mGamePaths = getArguments().getStringArray(KEY_GAMEPATHS);
mRiivolution = getArguments().getBoolean(KEY_RIIVOLUTION);
}