renamed sensor PEDOMETER to STEP_DETECTOR
pedometer was confusing.
Change-Id: Ib40c8034e9038f7153299aed4ee33a0a9f1e900e
diff --git a/include/hardware/sensors.h b/include/hardware/sensors.h
index 71a621c..7e5cfe5 100644
--- a/include/hardware/sensors.h
+++ b/include/hardware/sensors.h
@@ -154,7 +154,7 @@
*
* Many sensor types are or can be implemented as virtual sensors from
* physical sensors on the device. For instance the rotation vector sensor,
- * orientation sensor, pedometer, step-counter, etc...
+ * orientation sensor, step-detector, step-counter, etc...
*
* From the point of view of this API these virtual sensors MUST appear as
* real, individual sensors. It is the responsibility of the driver and HAL
@@ -518,7 +518,7 @@
/*
- * SENSOR_TYPE_PEDOMETER
+ * SENSOR_TYPE_STEP_DETECTOR
* trigger-mode: special
* wake-up sensor: no
*
@@ -534,13 +534,13 @@
*
* This sensor must be low power. That is, if the step detection cannot be
* done in hardware, this sensor should not be defined. Also, when the
- * pedometer is activated and the accelerometer is not, only steps should
+ * step detector is activated and the accelerometer is not, only steps should
* trigger interrupts (not accelerometer data).
*
* setDelay() has no impact on this sensor type
*/
-#define SENSOR_TYPE_PEDOMETER (18)
+#define SENSOR_TYPE_STEP_DETECTOR (18)
/*
@@ -554,7 +554,7 @@
*
* The timestamp of the event is set to the time when the first step
* for that event was taken.
- * See SENSOR_TYPE_PEDOMETER for the signification of the time of a step.
+ * See SENSOR_TYPE_STEP_DETECTOR for the signification of the time of a step.
*
* The minimum size of the hardware's internal counter shall be 16 bits
* (this restriction is here to avoid too frequent wake-ups when the