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

Commit 73c0364f authored by Adrian Roos's avatar Adrian Roos Committed by gitbuildkicker
Browse files

Revert "AOD: Wake up fully on gestures by default"

Bug: 35909567
Bug: 30876804

This reverts commit d84a080e.

Change-Id: Id51edce39967075cffe8fbe3860200cfe3a355ae
(cherry picked from commit ae4306ed)
(cherry picked from commit 601fe4ac)
parent 1fd1df2d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -145,7 +145,7 @@
        <com.android.systemui.tuner.TunerSwitch
          android:key="doze_sensors_wake_up_fully"
          android:title="@string/tuner_doze_sensors_wake_up_fully"
          sysui:defValue="true" />
          sysui:defValue="false" />

    </PreferenceScreen>

+1 −1
Original line number Diff line number Diff line
@@ -125,7 +125,7 @@ public class DozeParameters {
    public boolean getSensorsWakeUpFully() {
        return mAmbientDisplayConfiguration.alwaysOnAvailable()
                && Settings.Secure.getIntForUser(mContext.getContentResolver(),
                DOZE_SENSORS_WAKE_UP_FULLY, 1, UserHandle.USER_CURRENT) != 0;
                DOZE_SENSORS_WAKE_UP_FULLY, 0, UserHandle.USER_CURRENT) != 0;
    }

    private boolean getBoolean(String propName, int resId) {