Only wake to lock screen if AOD is on
Test: manual Bug: 124389844 Change-Id: Ib9682862045875c7771d4d303b6092532f2d49b4
This commit is contained in:
@@ -131,7 +131,7 @@ public class DozeSensors {
|
||||
new PluginSensor(
|
||||
new SensorManagerPlugin.Sensor(TYPE_WAKE_LOCK_SCREEN),
|
||||
Settings.Secure.DOZE_WAKE_SCREEN_GESTURE,
|
||||
mConfig.wakeScreenGestureAvailable(),
|
||||
mConfig.wakeScreenGestureAvailable() && alwaysOn,
|
||||
DozeLog.PULSE_REASON_SENSOR_WAKE_LOCK_SCREEN,
|
||||
false /* reports touch coordinates */,
|
||||
false /* touchscreen */),
|
||||
|
||||
Reference in New Issue
Block a user