[2/2] OmniGears: add CPU info overlay
Change-Id: I86be203b0edb096c9c4ea0410d56f1822c02072f
diff --git a/res/values/custom_strings.xml b/res/values/custom_strings.xml
index afb174f..3e52c10 100644
--- a/res/values/custom_strings.xml
+++ b/res/values/custom_strings.xml
@@ -485,6 +485,8 @@
<string name="system_category">System</string>
<string name="custom_wall_browse_title">Omni wallpapers</string>
<string name="custom_wall_browse_summary">Browse and set Omni branded wallpapers</string>
+ <string name="show_cpu_title">Show CPU info</string>
+ <string name="show_cpu_summary">Screen overlay showing current CPU info</string>
<!-- Display : Rotation -->
<string name="category_display">Display</string>
diff --git a/res/xml/more_settings.xml b/res/xml/more_settings.xml
index f269096..066f377 100644
--- a/res/xml/more_settings.xml
+++ b/res/xml/more_settings.xml
@@ -29,13 +29,13 @@
android:key="category_other"
android:title="@string/other_category">
- <org.omnirom.omnigears.preference.SystemCheckBoxPreference
+ <org.omnirom.omnigears.preference.SystemSettingSwitchPreference
android:key="screenshot_crop_and_share"
android:title="@string/screenshot_crop_and_share_title"
android:summary="@string/screenshot_crop_and_share_summary"
android:defaultValue="false" />
- <org.omnirom.omnigears.preference.SystemCheckBoxPreference
+ <org.omnirom.omnigears.preference.SystemSettingSwitchPreference
android:key="volume_dialog_headers"
android:title="@string/volume_dialog_headers_title"
android:summary="@string/volume_dialog_headers_summary"
@@ -67,5 +67,10 @@
android:title="@string/wakelocks_title"
android:summary="@string/wakelocks_summary"
android:fragment="org.omnirom.omnigears.system.Wakelocks" />
+
+ <org.omnirom.omnigears.preference.GlobalSettingSwitchPreference
+ android:key="show_cpu"
+ android:title="@string/show_cpu_title"
+ android:summary="@string/show_cpu_summary" />
</PreferenceCategory>
</PreferenceScreen>