* More Android patch work

This commit is contained in:
Joseba García Etxebarria 2015-03-24 21:02:28 +01:00
parent 3dcf5c743f
commit e997a4144d
4 changed files with 7 additions and 16 deletions

View file

@ -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_API12());
setOnGenericMotionListener(new SDLGenericMotionListener());
}
// Some arbitrary defaults to avoid a potential division by zero