Merge "[sensors] SENSOR_TYPE_DYNAMIC_SENSOR_META should be wake up" am: 28764df8a3

am: 889c710408

Change-Id: Iea420792fe3ec68d34fbba43afa1bcc366680951
This commit is contained in:
Peng Xu 2017-01-19 01:22:26 +00:00 committed by android-build-merger
commit 091cb5ba7e

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"