summaryrefslogtreecommitdiff
path: root/Source/Android/src
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Android/src')
-rw-r--r--Source/Android/src/org/dolphinemu/dolphinemu/gamelist/GameListActivity.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/Android/src/org/dolphinemu/dolphinemu/gamelist/GameListActivity.java b/Source/Android/src/org/dolphinemu/dolphinemu/gamelist/GameListActivity.java
index 745e722920..23233b37cb 100644
--- a/Source/Android/src/org/dolphinemu/dolphinemu/gamelist/GameListActivity.java
+++ b/Source/Android/src/org/dolphinemu/dolphinemu/gamelist/GameListActivity.java
@@ -110,7 +110,7 @@ public final class GameListActivity extends Activity
* Switches to the {@link Fragment} represented
* by the given ID number.
*
- * @param toPage the number representing the {@link Fragment} to switch to.l
+ * @param toPage the number representing the {@link Fragment} to switch to.
*/
public void SwitchPage(int toPage)
{
@@ -121,6 +121,11 @@ public final class GameListActivity extends Activity
{
case 0: // Game list
{
+ // We use the title section as the browser directory tracker in the folder browser.
+ // Make sure we flip the title back if we're coming from that fragment.
+ if (mCurFragmentNum == 1)
+ setTitle(R.string.app_name);
+
mCurFragmentNum = 0;
mCurFragment = new GameListFragment();
FragmentManager fragmentManager = getFragmentManager();