Merge "TYPE_DYNAMIC_SENSOR_META should be wake up sensor" am: cec2ebf676

am: 8cddb920b5

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

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;
}