From 88f519372f4a80c5f6dbd50ac8c527af00b237da Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Tue, 26 Jan 2016 22:20:05 +0100 Subject: [PATCH] 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 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/android-project/src/org/libsdl/app/SDLActivity.java b/android-project/src/org/libsdl/app/SDLActivity.java index fb34de859..bc81b03e0 100644 --- a/android-project/src/org/libsdl/app/SDLActivity.java +++ b/android-project/src/org/libsdl/app/SDLActivity.java @@ -1641,8 +1641,7 @@ class SDLGenericMotionListener_API12 implements View.OnGenericMotionListener { 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();