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 100571599a0012da5
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
     1.1 --- a/android-project/src/org/libsdl/app/SDLActivity.java	Fri Jan 22 13:12:16 2016 -0800
     1.2 +++ b/android-project/src/org/libsdl/app/SDLActivity.java	Tue Jan 26 22:20:05 2016 +0100
     1.3 @@ -1641,8 +1641,7 @@
     1.4              case InputDevice.SOURCE_JOYSTICK:
     1.5              case InputDevice.SOURCE_GAMEPAD:
     1.6              case InputDevice.SOURCE_DPAD:
     1.7 -                SDLActivity.handleJoystickMotionEvent(event);
     1.8 -                return true;
     1.9 +                return SDLActivity.handleJoystickMotionEvent(event);
    1.10  
    1.11              case InputDevice.SOURCE_MOUSE:
    1.12                  action = event.getActionMasked();