aboutsummaryrefslogtreecommitdiffstats
path: root/sdk/src
diff options
context:
space:
mode:
Diffstat (limited to 'sdk/src')
-rw-r--r--sdk/src/java/lineageos/providers/LineageSettings.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/sdk/src/java/lineageos/providers/LineageSettings.java b/sdk/src/java/lineageos/providers/LineageSettings.java
index 9d121024..e7336fa5 100644
--- a/sdk/src/java/lineageos/providers/LineageSettings.java
+++ b/sdk/src/java/lineageos/providers/LineageSettings.java
@@ -923,17 +923,15 @@ public final class LineageSettings {
/**
* Display style of the status bar battery information
* 0: Display the battery an icon in portrait mode
- * 2: Display the battery as a circle
- * 4: Hide the battery status information
- * 5: Display the battery an icon in landscape mode
- * 6: Display the battery as plain text
+ * 1: Display the battery as a circle
+ * 2: Display the battery as plain text
* default: 0
*/
public static final String STATUS_BAR_BATTERY_STYLE = "status_bar_battery_style";
/** @hide */
public static final Validator STATUS_BAR_BATTERY_STYLE_VALIDATOR =
- new DiscreteValueValidator(new String[] {"0", "2", "4", "5", "6"});
+ new InclusiveIntegerRangeValidator(0, 2);
/**
* Status bar battery %