1. Virgil Dupras
  2. mozilla-central

Commits

andreasgal  committed 5e6a595 Draft

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

  • Participants
  • Parent commits e6d7ec4
  • Branches default

Comments (0)

Files changed (1)

File hal/gonk/GonkSensor.cpp

View file
     }
 
     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);