[Android] Remove commented out code within EmulationActivity.java. Since the back button handling has a specific purpose, this is no longer needed.

This commit is contained in:
Lioncash 2013-09-26 23:40:39 -04:00
parent f6a8733660
commit 689aca2788
1 changed files with 0 additions and 16 deletions

View File

@ -242,22 +242,6 @@ public final class EmulationActivity extends Activity
{ {
int action = 0; int action = 0;
// Special catch for the back key
// Currently disabled because stopping and starting emulation is broken.
/*
if (event.getSource() == InputDevice.SOURCE_KEYBOARD
&& event.getKeyCode() == KeyEvent.KEYCODE_BACK
&& event.getAction() == KeyEvent.ACTION_UP)
{
if (Running)
NativeLibrary.StopEmulation();
Running = false;
Intent ListIntent = new Intent(this, GameListActivity.class);
startActivityForResult(ListIntent, 1);
return true;
}
*/
if (Running) if (Running)
{ {
switch (event.getAction()) switch (event.getAction())