Android: Remove all setRetainInstance calls

Our reasons for using setRetainInstance were gotten rid of in PRs
9011 and 10008, so let's remove our calls to this deprecated method.
This commit is contained in:
JosJuice 2021-11-16 22:45:35 +01:00
parent 08d907dec8
commit a8a8b294cd
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);
}