diff options
| author | Eder Bastos <bastos.eder@gmail.com> | 2014-06-22 22:29:37 -0400 |
|---|---|---|
| committer | Eder Bastos <bastos.eder@gmail.com> | 2014-06-23 08:24:39 -0400 |
| commit | 2c1008f0ae97dd0988272a395a6e62f7a10cc37c (patch) | |
| tree | 7d757bd0b781c861bcf3296db3d45ae8c56c0910 /Source/Android/src | |
| parent | 01fc1a6c5452f26ddac80742776026bd659b6db0 (diff) | |
Allow user to quit app with back button.
Diffstat (limited to 'Source/Android/src')
| -rw-r--r-- | Source/Android/src/org/dolphinemu/dolphinemu/gamelist/GameListActivity.java | 9 |
1 files changed, 8 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 6a5f806da4..80bb29eb9e 100644 --- a/Source/Android/src/org/dolphinemu/dolphinemu/gamelist/GameListActivity.java +++ b/Source/Android/src/org/dolphinemu/dolphinemu/gamelist/GameListActivity.java @@ -298,6 +298,13 @@ public final class GameListActivity extends Activity @Override public void onBackPressed() { - SwitchPage(0); + if (mCurFragmentNum == 0) + { + finish(); + } + else + { + SwitchPage(0); + } } } |
