OSDN Git Service

improve sensor HAL documentation
authorMathias Agopian <mathias@google.com>
Sat, 24 Jul 2010 00:23:43 +0000 (17:23 -0700)
committerMathias Agopian <mathias@google.com>
Sat, 24 Jul 2010 00:23:43 +0000 (17:23 -0700)
Change-Id: If443c1d2e48c697fa8774bd94af4e65866d1dedb

include/hardware/sensors.h

index 30bff91..2bbc8c9 100644 (file)
@@ -194,16 +194,16 @@ __BEGIN_DECLS
  * the sensor should report its maxRange value in the "far" state and a value
  * less than maxRange in the "near" state.
  *
- * Proximity sensors report a value only when it changes. setDelay() is
- * ignored.
+ * Proximity sensors report a value only when it changes and each time the
+ * sensor is enabled. setDelay() is ignored.
  *
  * Light
  * -----
  *
  * The light sensor value is returned in SI lux units.
  *
- * Light sensors report a value only when it changes. setDelay() is
- * ignored.
+ * Light sensors report a value only when it changes and each time the
+ * sensor is enabled. setDelay() is ignored.
  *
  */
 typedef struct {