CB-1289: The menubutton event fires twice

This commit is contained in:
macdonst 2012-08-28 11:55:12 -04:00
parent 07439ff99c
commit e07822350e

View File

@ -1032,20 +1032,4 @@ public class DroidGap extends Activity implements CordovaInterface {
}
return null;
}
/*
* (non-Javadoc)
* @see android.app.Activity#onKeyUp(int, android.view.KeyEvent)
*/
@Override
public boolean onKeyUp(int keyCode, KeyEvent event)
{
if (appView.canGoBack() || keyCode != KeyEvent.KEYCODE_BACK)
return appView.onKeyUp(keyCode, event);
else
return super.onKeyUp(keyCode, event);
}
}