Merge "Ensure Java code verifies hinge angle sensor is wakeup" into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
5bc3e56a51
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user