Merge "Ensure Java code verifies hinge angle sensor is wakeup" into rvc-dev am: 5bc3e56a51 am: a9fe26965b am: b3b2446ea4

Change-Id: Ice8b6f457a93fc6194a6d5b5d5bb2a0f20596f55
This commit is contained in:
TreeHugger Robot
2020-05-28 01:09:47 +00:00
committed by Automerger Merge Worker

View File

@@ -498,7 +498,7 @@ public abstract class SensorManager {
|| 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_DYNAMIC_SENSOR_META) {
|| type == Sensor.TYPE_DYNAMIC_SENSOR_META || type == Sensor.TYPE_HINGE_ANGLE) {
wakeUpSensor = true;
}