sdm845-common: doze: Fix default DOZE_ALWAYS_ON value

* It's disabled by default in our fwb overlay.

Change-Id: Ie38a51c2cc73078d201985cc30f0b6fa3d1630d5
This commit is contained in:
LuK1337 2019-01-14 20:16:55 +01:00 committed by Łukasz Patron
parent ae456c5385
commit b0aa068bd3

View file

@ -89,7 +89,7 @@ public final class Utils {
protected static boolean isAlwaysOnEnabled(Context context) {
return Settings.Secure.getIntForUser(context.getContentResolver(),
DOZE_ALWAYS_ON, 1, UserHandle.USER_CURRENT) != 0;
DOZE_ALWAYS_ON, 0, UserHandle.USER_CURRENT) != 0;
}
protected static boolean alwaysOnDisplayAvailable(Context context) {