mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 800533 - Don't handle magnetic field sensor, r=mwu
This commit is contained in:
parent
09d92493b0
commit
96b7e84fb7
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user