summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-01-02 14:34:57 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-01-02 14:34:57 -0300
commitfbfb87ec4f4c27c051e281978dc2e9a7d75bf3ab (patch)
treea18d02273f549d4d13b64fe178902864c0c7a9cf
parented8e70243fb1a7e88c02a8f47c431fbcc641ec62 (diff)
-accelerometer precission changed to "GAME" (#1015)
-rw-r--r--platform/android/java/src/com/android/godot/Godot.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/java/src/com/android/godot/Godot.java b/platform/android/java/src/com/android/godot/Godot.java
index f6cd57f4f3..1a7659a473 100644
--- a/platform/android/java/src/com/android/godot/Godot.java
+++ b/platform/android/java/src/com/android/godot/Godot.java
@@ -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;