mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 11:35:54 +00:00
Allow user to quit app with back button.
This commit is contained in:
parent
01fc1a6c54
commit
2c1008f0ae
1 changed files with 8 additions and 1 deletions
|
@ -298,6 +298,13 @@ public final class GameListActivity extends Activity
|
|||
@Override
|
||||
public void onBackPressed()
|
||||
{
|
||||
SwitchPage(0);
|
||||
if (mCurFragmentNum == 0)
|
||||
{
|
||||
finish();
|
||||
}
|
||||
else
|
||||
{
|
||||
SwitchPage(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue