Android: Fixed ignoring a return value while handling motion events.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Tue, 26 Jan 2016 22:20:05 +0100
changeset 10057 1599a0012da5
parent 10056 4f139e059592
child 10058 d141e7945ddf
Android: Fixed ignoring a return value while handling motion events. This should not have caused problems yet because the return value was identical.
android-project/src/org/libsdl/app/SDLActivity.java
--- a/android-project/src/org/libsdl/app/SDLActivity.java	Fri Jan 22 13:12:16 2016 -0800
+++ b/android-project/src/org/libsdl/app/SDLActivity.java	Tue Jan 26 22:20:05 2016 +0100
@@ -1641,8 +1641,7 @@
             case InputDevice.SOURCE_JOYSTICK:
             case InputDevice.SOURCE_GAMEPAD:
             case InputDevice.SOURCE_DPAD:
-                SDLActivity.handleJoystickMotionEvent(event);
-                return true;
+                return SDLActivity.handleJoystickMotionEvent(event);
 
             case InputDevice.SOURCE_MOUSE:
                 action = event.getActionMasked();