diff options
author | Vinod Krishnan <vinodkrishnan@google.com> | 2014-08-28 15:25:13 -0700 |
---|---|---|
committer | Vinod Krishnan <vinodkrishnan@google.com> | 2014-08-28 15:25:13 -0700 |
commit | 74279e3c23bd62c70d53098be91db85df5a68ece (patch) | |
tree | 66fed5f1973065d005af1dc95d81fd56432a0e0f | |
parent | c384b1863768d424116c1bcc7f26f5764c35c330 (diff) | |
download | hardware_libhardware-74279e3c23bd62c70d53098be91db85df5a68ece.zip hardware_libhardware-74279e3c23bd62c70d53098be91db85df5a68ece.tar.gz hardware_libhardware-74279e3c23bd62c70d53098be91db85df5a68ece.tar.bz2 |
Adding information about the first activation
Change-Id: If5759749c5e6a88dcaf5ab600c9086b056c3908a
-rw-r--r-- | include/hardware/sensors.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/hardware/sensors.h b/include/hardware/sensors.h index 418c348..cc08091 100644 --- a/include/hardware/sensors.h +++ b/include/hardware/sensors.h @@ -804,9 +804,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 trigger - * 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 trigger mode for more information. * * sensor_t.requiredPermission must be set to SENSOR_PERMISSION_BODY_SENSORS. */ |