Merge pull request #10344 from JosJuice/android-no-retain-instance
Android: Remove all setRetainInstance calls
This commit is contained in:
commit
500e02dcfb
|
@ -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