Fixing AccelListener to conform to 1.5

This commit is contained in:
Joe Bowser 2009-04-27 17:05:33 -07:00
parent 42b1bb6fac
commit 95d8d5bb83

View File

@ -35,11 +35,10 @@ public class AccelListener implements SensorListener{
sensorManager.unregisterListener(this);
}
@Override
public void onAccuracyChanged(int sensor, int accuracy) {
// This should call the FAIL method
}
@Override
public void onSensorChanged(int sensor, float[] values) {
if (sensor != SensorManager.SENSOR_ACCELEROMETER || values.length < 3)
return;