Fix a bunch of Lint errors

This commit is contained in:
Cameron Gutman
2014-11-13 21:37:11 -08:00
parent 6604675bf9
commit a37fff6eb5
9 changed files with 62 additions and 73 deletions

View File

@@ -395,7 +395,7 @@ public class Game extends Activity implements SurfaceHolder.Callback,
}
// Try the controller handler first
boolean handled = controllerHandler.handleButtonDown(keyCode, event);
boolean handled = controllerHandler.handleButtonDown(event);
if (!handled) {
// Try the keyboard handler
short translated = keybTranslator.translate(event.getKeyCode());
@@ -438,7 +438,7 @@ public class Game extends Activity implements SurfaceHolder.Callback,
}
// Try the controller handler first
boolean handled = controllerHandler.handleButtonUp(keyCode, event);
boolean handled = controllerHandler.handleButtonUp(event);
if (!handled) {
// Try the keyboard handler
short translated = keybTranslator.translate(event.getKeyCode());