diff --git a/parts/res/drawable/ic_doze_brightness_dark.xml b/parts/res/drawable/ic_doze_brightness_dark.xml deleted file mode 100644 index 4185b30..0000000 --- a/parts/res/drawable/ic_doze_brightness_dark.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - diff --git a/parts/res/values/arrays.xml b/parts/res/values/arrays.xml index bff26fa..46137ab 100644 --- a/parts/res/values/arrays.xml +++ b/parts/res/values/arrays.xml @@ -18,13 +18,11 @@ Low brightness High brightness - Zero brightness Adaptive brightness 0 1 2 - 3 diff --git a/parts/src/org/lineageos/settings/doze/DozeUtils.java b/parts/src/org/lineageos/settings/doze/DozeUtils.java index 8d13cca..170cc7a 100644 --- a/parts/src/org/lineageos/settings/doze/DozeUtils.java +++ b/parts/src/org/lineageos/settings/doze/DozeUtils.java @@ -66,8 +66,7 @@ public final class DozeUtils { protected static final String DOZE_BRIGHTNESS_LBM = "0"; protected static final String DOZE_BRIGHTNESS_HBM = "1"; - protected static final String DOZE_BRIGHTNESS_DARK = "2"; - protected static final String DOZE_BRIGHTNESS_AUTO = "3"; + protected static final String DOZE_BRIGHTNESS_AUTO = "2"; public static void onBootCompleted(Context context) { checkDozeService(context); @@ -210,9 +209,6 @@ public final class DozeUtils { case DozeUtils.DOZE_BRIGHTNESS_HBM: preference.setIcon(R.drawable.ic_doze_brightness_high); break; - case DozeUtils.DOZE_BRIGHTNESS_DARK: - preference.setIcon(R.drawable.ic_doze_brightness_dark); - break; case DozeUtils.DOZE_BRIGHTNESS_AUTO: preference.setIcon(R.drawable.ic_doze_brightness_auto); break;