Merge "Ensure Java code verifies hinge angle sensor is wakeup" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-05-27 23:54:07 +00:00
committed by Android (Google) Code Review

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