mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
Merge pull request #529 from sigmabeta/quit-app-with-back
Allow user to quit Android app with back button.
This commit is contained in:
@@ -298,6 +298,13 @@ public final class GameListActivity extends Activity
|
||||
@Override
|
||||
public void onBackPressed()
|
||||
{
|
||||
SwitchPage(0);
|
||||
if (mCurFragmentNum == 0)
|
||||
{
|
||||
finish();
|
||||
}
|
||||
else
|
||||
{
|
||||
SwitchPage(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user