Bug 800533 - Don't handle magnetic field sensor, r=mwu

This commit is contained in:
Andreas Gal 2012-10-16 01:11:06 -04:00
parent 6d18b74223
commit db79ec3cdf

View File

@ -181,6 +181,10 @@ PollSensors()
}
for (int i = 0; i < n; ++i) {
// FIXME: bug 802004, add proper support for the magnetic field sensor.
if (buffer[i].type == SENSOR_TYPE_MAGNETIC_FIELD)
continue;
NS_DispatchToMainThread(new SensorRunnable(buffer[i], sensors, size));
}
} while (true);