Merge "[sensors] SENSOR_TYPE_DYNAMIC_SENSOR_META should be wake up"
This commit is contained in:
commit
28764df8a3
1 changed files with 3 additions and 0 deletions
|
@ -798,6 +798,7 @@ enum {
|
||||||
/**
|
/**
|
||||||
* SENSOR_TYPE_DYNAMIC_SENSOR_META
|
* SENSOR_TYPE_DYNAMIC_SENSOR_META
|
||||||
* trigger-mode: special
|
* trigger-mode: special
|
||||||
|
* wake-up sensor: yes
|
||||||
*
|
*
|
||||||
* A sensor event of this type is received when a dynamic sensor is added to or removed from the
|
* A sensor event of this type is received when a dynamic sensor is added to or removed from the
|
||||||
* system. At most one sensor of this type can be present in one sensor HAL implementation and
|
* system. At most one sensor of this type can be present in one sensor HAL implementation and
|
||||||
|
@ -829,6 +830,8 @@ enum {
|
||||||
* sensor_t, but the UUID should be unique and persistent for each individual unit. An all zero UUID
|
* sensor_t, but the UUID should be unique and persistent for each individual unit. An all zero UUID
|
||||||
* indicates it is not possible to differentiate individual sensor unit.
|
* indicates it is not possible to differentiate individual sensor unit.
|
||||||
*
|
*
|
||||||
|
* It is recommended to implement this type as wake up sensor.
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
#define SENSOR_TYPE_DYNAMIC_SENSOR_META (32)
|
#define SENSOR_TYPE_DYNAMIC_SENSOR_META (32)
|
||||||
#define SENSOR_STRING_TYPE_DYNAMIC_SENSOR_META "android.sensor.dynamic_sensor_meta"
|
#define SENSOR_STRING_TYPE_DYNAMIC_SENSOR_META "android.sensor.dynamic_sensor_meta"
|
||||||
|
|
Loading…
Reference in a new issue