Loading include/android/sensor.h +14 −6 Original line number Diff line number Diff line Loading @@ -59,7 +59,7 @@ extern "C" { /** * Sensor types. * (keep in sync with hardware/sensor.h) * (keep in sync with hardware/sensors.h) */ enum { /** Loading Loading @@ -103,7 +103,15 @@ enum { * SENSOR_FLAG_WAKE_UP. * The value corresponds to the distance to the nearest object in centimeters. */ ASENSOR_TYPE_PROXIMITY = 8 ASENSOR_TYPE_PROXIMITY = 8, /** * {@link ASENSOR_TYPE_LINEAR_ACCELERATION} * reporting-mode: continuous * * All values are in SI units (m/s^2) and measure the acceleration of the * device not including the force of gravity. */ ASENSOR_TYPE_LINEAR_ACCELERATION = 10 }; /** Loading Loading
include/android/sensor.h +14 −6 Original line number Diff line number Diff line Loading @@ -59,7 +59,7 @@ extern "C" { /** * Sensor types. * (keep in sync with hardware/sensor.h) * (keep in sync with hardware/sensors.h) */ enum { /** Loading Loading @@ -103,7 +103,15 @@ enum { * SENSOR_FLAG_WAKE_UP. * The value corresponds to the distance to the nearest object in centimeters. */ ASENSOR_TYPE_PROXIMITY = 8 ASENSOR_TYPE_PROXIMITY = 8, /** * {@link ASENSOR_TYPE_LINEAR_ACCELERATION} * reporting-mode: continuous * * All values are in SI units (m/s^2) and measure the acceleration of the * device not including the force of gravity. */ ASENSOR_TYPE_LINEAR_ACCELERATION = 10 }; /** Loading