-accelerometer precission changed to "GAME" (#1015)
This commit is contained in:
parent
ed8e70243f
commit
fbfb87ec4f
@ -358,7 +358,7 @@ public class Godot extends Activity implements SensorEventListener, IDownloaderC
|
||||
GodotLib.initialize(this,io.needsReloadHooks(),command_line);
|
||||
mSensorManager = (SensorManager) getSystemService(Context.SENSOR_SERVICE);
|
||||
mAccelerometer = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER);
|
||||
mSensorManager.registerListener(this, mAccelerometer, SensorManager.SENSOR_DELAY_NORMAL);
|
||||
mSensorManager.registerListener(this, mAccelerometer, SensorManager.SENSOR_DELAY_GAME);
|
||||
|
||||
result_callback = null;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user