Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e076c6d1 authored by Lucas Dupin's avatar Lucas Dupin
Browse files

Only wake to lock screen if AOD is on

Test: manual
Bug: 124389844
Change-Id: Ib9682862045875c7771d4d303b6092532f2d49b4
parent 15c8c26e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */),