diff options
author | Adnan Begovic <adnan@cyngn.com> | 2015-11-09 16:24:29 -0800 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2015-11-09 16:24:29 -0800 |
commit | 50fc22b8a1efea977e17c3456dcb3454a53e0c53 (patch) | |
tree | 2330d07308a9e78be88e8763e632ac01f9d29038 /src/java/cyanogenmod/providers | |
parent | dc8f675bb9a0af7f2c4c18a70a5539a066eaf706 (diff) | |
download | vendor_cmsdk-50fc22b8a1efea977e17c3456dcb3454a53e0c53.zip vendor_cmsdk-50fc22b8a1efea977e17c3456dcb3454a53e0c53.tar.gz vendor_cmsdk-50fc22b8a1efea977e17c3456dcb3454a53e0c53.tar.bz2 |
cmsdk: Move battery light settings to CMSettings.
Change-Id: I11a80bdeab369f851017c516039adc6400572b09
Diffstat (limited to 'src/java/cyanogenmod/providers')
-rw-r--r-- | src/java/cyanogenmod/providers/CMSettings.java | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/java/cyanogenmod/providers/CMSettings.java b/src/java/cyanogenmod/providers/CMSettings.java index d0c96fa..0d0419f 100644 --- a/src/java/cyanogenmod/providers/CMSettings.java +++ b/src/java/cyanogenmod/providers/CMSettings.java @@ -869,6 +869,38 @@ public final class CMSettings { * @hide */ public static final String SWAP_VOLUME_KEYS_ON_ROTATION = "swap_volume_keys_on_rotation"; + + /** + * Whether the battery light should be enabled (if hardware supports it) + * The value is boolean (1 or 0). + * @hide + */ + public static final String BATTERY_LIGHT_ENABLED = "battery_light_enabled"; + + /** + * Whether the battery LED should repeatedly flash when the battery is low + * on charge. The value is boolean (1 or 0). + * @hide + */ + public static final String BATTERY_LIGHT_PULSE = "battery_light_pulse"; + + /** + * What color to use for the battery LED while charging - low + * @hide + */ + public static final String BATTERY_LIGHT_LOW_COLOR = "battery_light_low_color"; + + /** + * What color to use for the battery LED while charging - medium + * @hide + */ + public static final String BATTERY_LIGHT_MEDIUM_COLOR = "battery_light_medium_color"; + + /** + * What color to use for the battery LED while charging - full + * @hide + */ + public static final String BATTERY_LIGHT_FULL_COLOR = "battery_light_full_color"; } /** |