Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[Android] Remove commented out code within EmulationActivity.java. Si…
…nce the back button handling has a specific purpose, this is no longer needed.
  • Loading branch information
lioncash committed Sep 27, 2013
1 parent f6a8733 commit 689aca2
Showing 1 changed file with 0 additions and 16 deletions.
Expand Up @@ -242,22 +242,6 @@ public boolean dispatchKeyEvent(KeyEvent event)
{
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)
{
switch (event.getAction())
Expand Down

0 comments on commit 689aca2

Please sign in to comment.