[2/3] OmniGears: LED Fast charging support

add support for fast charging LED

Change-Id: I0cf3d920c2a412b00f0ee999e9e610df989d1ec1
diff --git a/res/values/custom_strings.xml b/res/values/custom_strings.xml
index be5b7d3..0f2d2da 100644
--- a/res/values/custom_strings.xml
+++ b/res/values/custom_strings.xml
@@ -166,6 +166,11 @@
     <string name="battery_light_medium_color_title">Charging</string>
     <string name="battery_light_full_color_title">Charged (90%)</string>
     <string name="battery_light_really_full_color_title">Charged (100%)</string>
+    <string name="fast_color_cat_title">Fast charging</string>
+    <string name="fast_charging_led_enabled_title">Enable fast charging color</string>
+    <string name="fast_charging_led_enabled_summary">When fast charging, use different color till 90% charged</string>
+    <string name="fast_charging_light_color_title">Color</string>
+    <string name="fast_charging_light_color_summary"></string>
     <string name="edit_battery_settings">Edit battery settings</string>
     <string name="notification_light_general_title">General</string>
     <string name="led_color_green">Green</string>
diff --git a/res/xml/battery_light_settings.xml b/res/xml/battery_light_settings.xml
index 3b8bf8f..ad8d26c 100644
--- a/res/xml/battery_light_settings.xml
+++ b/res/xml/battery_light_settings.xml
@@ -66,4 +66,23 @@
 
     </PreferenceCategory>
 
+    <PreferenceCategory
+        android:key="fast_color_cat"
+        android:title="@string/fast_color_cat_title"
+        android:dependency="battery_light_enabled" >
+
+        <org.omnirom.omnigears.preference.SystemSettingSwitchPreference
+            android:key="fast_charging_led_enabled"
+            android:title="@string/fast_charging_led_enabled_title"
+            android:summary="@string/fast_charging_led_enabled_summary" />
+
+        <org.omnirom.omnigears.batterylight.BatteryLightPreference
+            android:key="fast_color"
+            android:title="@string/fast_charging_light_color_title"
+            android:summary="@string/fast_charging_light_color_summary"
+            android:persistent="false"
+            android:dependency="fast_charging_led_enabled" />
+
+    </PreferenceCategory>
+
 </PreferenceScreen>