Renamed SDLGenericMotionListener back to SDLGenericMotionListener_API12
authorJoseba García Etxebarria <joseba.gar@gmail.com>
Fri, 27 Mar 2015 18:09:51 -0400
changeset 944517095a4130ce
parent 9444 d0865e9f674a
child 9447 728a4bf8e02f
Renamed SDLGenericMotionListener back to SDLGenericMotionListener_API12
android-project/src/org/libsdl/app/SDLActivity.java
     1.1 --- a/android-project/src/org/libsdl/app/SDLActivity.java	Wed Mar 25 22:48:57 2015 +0100
     1.2 +++ b/android-project/src/org/libsdl/app/SDLActivity.java	Fri Mar 27 18:09:51 2015 -0400
     1.3 @@ -950,7 +950,7 @@
     1.4          mSensorManager = (SensorManager)context.getSystemService(Context.SENSOR_SERVICE);
     1.5          
     1.6          if(Build.VERSION.SDK_INT >= 12) {
     1.7 -            setOnGenericMotionListener(new SDLGenericMotionListener());
     1.8 +            setOnGenericMotionListener(new SDLGenericMotionListener_API12());
     1.9          }
    1.10  
    1.11          // Some arbitrary defaults to avoid a potential division by zero
    1.12 @@ -1506,7 +1506,7 @@
    1.13      }            
    1.14  }
    1.15  
    1.16 -class SDLGenericMotionListener implements View.OnGenericMotionListener {
    1.17 +class SDLGenericMotionListener_API12 implements View.OnGenericMotionListener {
    1.18      // Generic Motion (mouse hover, joystick...) events go here
    1.19      @Override
    1.20      public boolean onGenericMotion(View v, MotionEvent event) {