Merge "[sensors] SENSOR_TYPE_DYNAMIC_SENSOR_META should be wake up"

This commit is contained in:
Peng Xu 2017-01-19 01:11:49 +00:00 committed by Gerrit Code Review
commit 28764df8a3

View file

@ -798,6 +798,7 @@ enum {
/**
* SENSOR_TYPE_DYNAMIC_SENSOR_META
* 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
* 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
* 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_STRING_TYPE_DYNAMIC_SENSOR_META "android.sensor.dynamic_sensor_meta"