Skip to content

Commit

Permalink
Merge pull request #10344 from JosJuice/android-no-retain-instance
Browse files Browse the repository at this point in the history
Android: Remove all setRetainInstance calls
  • Loading branch information
JMC47 committed Jan 4, 2022
2 parents 9a914d3 + a8a8b29 commit 500e02d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);

setRetainInstance(true);
Bundle args = getArguments();
MenuTag menuTag = (MenuTag) args.getSerializable(ARGUMENT_MENU_TAG);
String gameId = getArguments().getString(ARGUMENT_GAME_ID);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,6 @@ public void onCreate(Bundle savedInstanceState)
{
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);
}
Expand Down

0 comments on commit 500e02d

Please sign in to comment.