Merge "TYPE_DYNAMIC_SENSOR_META should be wake up sensor"

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

View File

@@ -492,7 +492,7 @@ public abstract class SensorManager {
if (type == Sensor.TYPE_PROXIMITY || type == Sensor.TYPE_SIGNIFICANT_MOTION ||
type == Sensor.TYPE_TILT_DETECTOR || type == Sensor.TYPE_WAKE_GESTURE ||
type == Sensor.TYPE_GLANCE_GESTURE || type == Sensor.TYPE_PICK_UP_GESTURE ||
type == Sensor.TYPE_WRIST_TILT_GESTURE) {
type == Sensor.TYPE_WRIST_TILT_GESTURE || type == Sensor.TYPE_DYNAMIC_SENSOR_META) {
wakeUpSensor = true;
}