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

Commit bc3c410d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents acc96682 d84a080e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -133,7 +133,7 @@
        <com.android.systemui.tuner.TunerSwitch
          android:key="doze_sensors_wake_up_fully"
          android:title="@string/tuner_doze_sensors_wake_up_fully"
          sysui:defValue="false" />
          sysui:defValue="true" />

    </PreferenceScreen>

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

    private boolean getBoolean(String propName, int resId) {