am ac5f1db9: Merge commit \'38014a7c\' into lmp-dev

* commit 'ac5f1db9a1d40647d51bfbb94c4bfd01d35b9801':
  Adding information about the first activation
This commit is contained in:
Griff Hazen 2014-08-29 19:13:43 +00:00 committed by Android Git Automerger
commit bdfc9783a2

View file

@ -495,9 +495,11 @@ enum {
*
* Because this sensor is on-change, events must be generated when and only
* when heart_rate.bpm or heart_rate.status have changed since the last
* event. The event should be generated no faster than every period_ns passed
* to setDelay() or to batch(). See the definition of the on-change reporting
* mode for more information.
* event. In particular, upon the first activation, unless the device is known
* to not be on the body, the status field of the first event must be set to
* SENSOR_STATUS_UNRELIABLE. The event should be generated no faster than every
* period_ns passed to setDelay() or to batch().
* See the definition of the on-change reporting mode for more information.
*
* sensor_t.requiredPermission must be set to SENSOR_PERMISSION_BODY_SENSORS.
*