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:
parent
08d907dec8
commit
a8a8b294cd
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue