From aabe953f7df9870e5b2dfd4e5ac9c6c59c74e931 Mon Sep 17 00:00:00 2001 From: LoungeKatt Date: Sun, 5 Jan 2014 06:08:44 -0500 Subject: [PATCH] Clean up the options call when moving to the main activity --- shell/android/src/com/reicast/emulator/MainActivity.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/shell/android/src/com/reicast/emulator/MainActivity.java b/shell/android/src/com/reicast/emulator/MainActivity.java index eb8b7edfc..269bc7960 100644 --- a/shell/android/src/com/reicast/emulator/MainActivity.java +++ b/shell/android/src/com/reicast/emulator/MainActivity.java @@ -306,9 +306,8 @@ public class MainActivity extends FragmentActivity implements // specify ImgBrowse option. true = images, false = folders only args.putString("browse_entry", sdcard.toString()); // specify a path for selecting folder options - //FIME - //args.putBoolean("games_entry", games); - // specify if the desired path is for games or data + args.putBoolean("games_entry", false); + // selecting a BIOS folder, so this is not games firstFragment.setArguments(args); // In case this activity was started with special instructions from @@ -316,8 +315,7 @@ public class MainActivity extends FragmentActivity implements // firstFragment.setArguments(getIntent().getExtras()); // Add the fragment to the 'fragment_container' FrameLayout - //FIXME - MainActivity.this.getSupportFragmentManager() + getSupportFragmentManager() .beginTransaction() .replace(R.id.fragment_container, firstFragment, "MAIN_BROWSER") .addToBackStack(null).commit();