summaryrefslogtreecommitdiff
path: root/Source/Android/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2013-10-02 22:55:16 -0400
committerLioncash <mathew1800@gmail.com>2013-10-02 22:55:16 -0400
commitda46da17dc1e79b3523d5e2333682b61e5822ba5 (patch)
tree5ad779264022068d22c4cef9441c0ca23c8f21a8 /Source/Android/src
parent8dfc75278045126ba9deecfc6c28e15f8250ef71 (diff)
[Android] Make sure to change the title accordingly when coming back from the folder browser.
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();