Loading packages/SystemUI/res/xml/tuner_prefs.xml +1 −1 Original line number Original line Diff line number Diff line Loading @@ -145,7 +145,7 @@ <com.android.systemui.tuner.TunerSwitch <com.android.systemui.tuner.TunerSwitch android:key="doze_sensors_wake_up_fully" android:key="doze_sensors_wake_up_fully" android:title="@string/tuner_doze_sensors_wake_up_fully" android:title="@string/tuner_doze_sensors_wake_up_fully" sysui:defValue="true" /> sysui:defValue="false" /> </PreferenceScreen> </PreferenceScreen> Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -129,7 +129,7 @@ public class DozeParameters { public boolean getSensorsWakeUpFully() { public boolean getSensorsWakeUpFully() { return mAmbientDisplayConfiguration.alwaysOnAvailable() return mAmbientDisplayConfiguration.alwaysOnAvailable() && Settings.Secure.getIntForUser(mContext.getContentResolver(), && 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) { private boolean getBoolean(String propName, int resId) { Loading Loading
packages/SystemUI/res/xml/tuner_prefs.xml +1 −1 Original line number Original line Diff line number Diff line Loading @@ -145,7 +145,7 @@ <com.android.systemui.tuner.TunerSwitch <com.android.systemui.tuner.TunerSwitch android:key="doze_sensors_wake_up_fully" android:key="doze_sensors_wake_up_fully" android:title="@string/tuner_doze_sensors_wake_up_fully" android:title="@string/tuner_doze_sensors_wake_up_fully" sysui:defValue="true" /> sysui:defValue="false" /> </PreferenceScreen> </PreferenceScreen> Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -129,7 +129,7 @@ public class DozeParameters { public boolean getSensorsWakeUpFully() { public boolean getSensorsWakeUpFully() { return mAmbientDisplayConfiguration.alwaysOnAvailable() return mAmbientDisplayConfiguration.alwaysOnAvailable() && Settings.Secure.getIntForUser(mContext.getContentResolver(), && 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) { private boolean getBoolean(String propName, int resId) { Loading