Commit 8fb4fe27 authored by Karishma Chadha's avatar Karishma Chadha

Added line in constructor to initialize MinimumInterval

parent dbcbeaa7
...@@ -109,6 +109,7 @@ public class AccelerometerSensor extends AndroidNonvisibleComponent ...@@ -109,6 +109,7 @@ public class AccelerometerSensor extends AndroidNonvisibleComponent
sensorManager = (SensorManager) container.$context().getSystemService(Context.SENSOR_SERVICE); sensorManager = (SensorManager) container.$context().getSystemService(Context.SENSOR_SERVICE);
accelerometerSensor = sensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); accelerometerSensor = sensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER);
startListening(); startListening();
MinimumInterval(300);
} }
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment