mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Allow user to quit 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