diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-06-23 10:43:14 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-06-23 10:43:14 -0400 |
| commit | ffacb26ff84ef47d0021ee4cd133c73458d9b695 (patch) | |
| tree | 7d757bd0b781c861bcf3296db3d45ae8c56c0910 /Source/Android | |
| parent | 01fc1a6c5452f26ddac80742776026bd659b6db0 (diff) | |
| parent | 2c1008f0ae97dd0988272a395a6e62f7a10cc37c (diff) | |
Merge pull request #529 from sigmabeta/quit-app-with-back
Allow user to quit Android app with back button.
Diffstat (limited to 'Source/Android')
| -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); + } } } |
