mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Allow user to quit app with back button.
This commit is contained in:
@ -297,7 +297,14 @@ public final class GameListActivity extends Activity
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onBackPressed()
|
public void onBackPressed()
|
||||||
|
{
|
||||||
|
if (mCurFragmentNum == 0)
|
||||||
|
{
|
||||||
|
finish();
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
SwitchPage(0);
|
SwitchPage(0);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user