[2/2] OmniGears: Statusbar brightness control
Change-Id: I59c6e2977eb6399b75eda503fe778ac1e159e010
Signed-off-by: Sagar Shah <sagarshah2326@gmail.com>
diff --git a/res/values/custom_strings.xml b/res/values/custom_strings.xml
index 30ffa90..c882a1b 100644
--- a/res/values/custom_strings.xml
+++ b/res/values/custom_strings.xml
@@ -735,4 +735,8 @@
<string name="expanded_user_configurable">User configurable</string>
<string name="show_only_launcher_menu">Only launcher apps</string>
<string name="show_all_apps_menu">All apps</string>
+
+ <!-- Brightness control -->
+ <string name="status_bar_toggle_brightness">Brightness control</string>
+ <string name="status_bar_toggle_brightness_summary">Adjust brightness by sliding across the status bar</string>
</resources>
diff --git a/res/xml/bars_settings.xml b/res/xml/bars_settings.xml
index c86e3a7..cb4f123 100644
--- a/res/xml/bars_settings.xml
+++ b/res/xml/bars_settings.xml
@@ -30,6 +30,12 @@
android:defaultValue="false" />
<org.omnirom.omnigears.preference.SystemSettingSwitchPreference
+ android:key="status_bar_brightness_control"
+ android:title="@string/status_bar_toggle_brightness"
+ android:summary="@string/status_bar_toggle_brightness_summary"
+ android:defaultValue="false" />
+
+ <org.omnirom.omnigears.preference.SystemSettingSwitchPreference
android:key="status_bar_ime_notification"
android:title="@string/status_bar_ime_notification_title"
android:summary="@string/status_bar_ime_notification_summary"