[2/2] OmniGears: Double tap to sleep on lockscreen

Change-Id: Ib6082835a2a0e46de249c96ef47a786dc3f34a60
diff --git a/res/values/custom_strings.xml b/res/values/custom_strings.xml
index 239b5c9..d45aac5 100644
--- a/res/values/custom_strings.xml
+++ b/res/values/custom_strings.xml
@@ -624,4 +624,8 @@
     <string name="volume_steps_7">7 steps</string>
     <string name="volume_steps_5">5 steps</string>
     <string name="system_volume_option_title">System volume</string>
-    <string name="call_volume_option_title">Voice call volume</string></resources>
+    <string name="call_volume_option_title">Voice call volume</string>
+
+    <string name="double_tap_sleep_lockscreen_title">Double tap to sleep on lockscreen</string>
+    <string name="double_tap_sleep_lockscreen_summary"></string>
+</resources>
diff --git a/res/xml/bars_settings.xml b/res/xml/bars_settings.xml
index 993a05a..5655f3c 100644
--- a/res/xml/bars_settings.xml
+++ b/res/xml/bars_settings.xml
@@ -63,5 +63,11 @@
                 android:summary="@string/lockscreen_hide_media_summary"
                 android:defaultValue="false" />
 
+            <org.omnirom.omnigears.preference.SystemSettingSwitchPreference
+                android:key="double_tap_sleep_lockscreen"
+                android:title="@string/double_tap_sleep_lockscreen_title"
+                android:summary="@string/double_tap_sleep_lockscreen_summary"
+                android:defaultValue="false" />
+
         </PreferenceCategory>
 </PreferenceScreen>