This commit is contained in:
Joe Bowser
2012-05-29 15:45:04 -07:00
2 changed files with 8 additions and 6 deletions
@@ -222,7 +222,7 @@ public class AccelListener extends Plugin implements SensorEventListener {
if (this.accuracy >= SensorManager.SENSOR_STATUS_ACCURACY_MEDIUM) {
// Save time that event was received
this.timestamp = System.currentTimeMillis();
this.timestamp = System.nanoTime();
this.x = event.values[0];
this.y = event.values[1];
this.z = event.values[2];