summaryrefslogtreecommitdiff
path: root/Source/Android/src/org
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Android/src/org')
-rw-r--r--Source/Android/src/org/dolphinemu/dolphinemu/GameListActivity.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/Android/src/org/dolphinemu/dolphinemu/GameListActivity.java b/Source/Android/src/org/dolphinemu/dolphinemu/GameListActivity.java
index 825ba5bdd2..25d3adb9fb 100644
--- a/Source/Android/src/org/dolphinemu/dolphinemu/GameListActivity.java
+++ b/Source/Android/src/org/dolphinemu/dolphinemu/GameListActivity.java
@@ -152,6 +152,16 @@ public class GameListActivity extends Activity {
mDrawerLayout.setDrawerListener(mDrawerToggle);
recreateFragment();
+
+ SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getApplicationContext());
+ boolean bFirstRun = prefs.getBoolean("FirstRun", true);
+ if (bFirstRun)
+ {
+ SharedPreferences.Editor editor = prefs.edit();
+ editor.putBoolean("FirstRun", false);
+ editor.commit();
+ mDrawerLayout.openDrawer(mDrawerList);
+ }
}
private void recreateFragment()