Skip to content

Commit

Permalink
Bug 1194721: Support Gonk sensors daemon, r=gsvelto
Browse files Browse the repository at this point in the history
This patch adds th state machine for supporting the Gonk sensors
daemon in Gecko. The daemon gets started when the first sensor is
enabled. Sensors can be enabled and disabled at will. The daemon
will send events about detected sensors and sensor events. Gecko's
state machine receives themand forwards them as DOM events.

The old support for device sensors is still present for devices without
sensorsd. A future patch will remove this code.
  • Loading branch information
tdz committed Feb 4, 2016
1 parent 4d26cce commit afdc357
Showing 1 changed file with 529 additions and 4 deletions.
Loading

0 comments on commit afdc357

Please sign in to comment.