From 7399062855d6a773822e92f3d93c0af2a7bcfd71 Mon Sep 17 00:00:00 2001 From: Joseba Garc?a Etxebarria Date: Fri, 27 Mar 2015 18:09:51 -0400 Subject: [PATCH] Renamed SDLGenericMotionListener back to SDLGenericMotionListener_API12 --- android-project/src/org/libsdl/app/SDLActivity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android-project/src/org/libsdl/app/SDLActivity.java b/android-project/src/org/libsdl/app/SDLActivity.java index 42aef32a9..70d1acc66 100644 --- a/android-project/src/org/libsdl/app/SDLActivity.java +++ b/android-project/src/org/libsdl/app/SDLActivity.java @@ -950,7 +950,7 @@ class SDLSurface extends SurfaceView implements SurfaceHolder.Callback, mSensorManager = (SensorManager)context.getSystemService(Context.SENSOR_SERVICE); if(Build.VERSION.SDK_INT >= 12) { - setOnGenericMotionListener(new SDLGenericMotionListener()); + setOnGenericMotionListener(new SDLGenericMotionListener_API12()); } // Some arbitrary defaults to avoid a potential division by zero @@ -1506,7 +1506,7 @@ class SDLJoystickHandler_API12 extends SDLJoystickHandler { } } -class SDLGenericMotionListener implements View.OnGenericMotionListener { +class SDLGenericMotionListener_API12 implements View.OnGenericMotionListener { // Generic Motion (mouse hover, joystick...) events go here @Override public boolean onGenericMotion(View v, MotionEvent event) {