changeset: 9445:44ecb6b353cc tag: tip user: Joseba GarcĂ­a Etxebarria date: Thu Mar 26 23:58:28 2015 +0100 summary: * Renamed SDLGenericMotionListener back to SDLGenericMotionListener_API12 diff -r d0865e9f674a -r 44ecb6b353cc android-project/src/org/libsdl/app/SDLActivity.java --- a/android-project/src/org/libsdl/app/SDLActivity.java Wed Mar 25 22:48:57 2015 +0100 +++ b/android-project/src/org/libsdl/app/SDLActivity.java Thu Mar 26 23:58:28 2015 +0100 @@ -950,7 +950,7 @@ 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 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) {