[2/2] OmniGears: config to disable power menu on secure lock screen

Change-Id: I57efdc2e74122e9f32ad4df538ab08fd90f0c5b4
diff --git a/res/values/custom_strings.xml b/res/values/custom_strings.xml
index a24503b..91e3bd5 100644
--- a/res/values/custom_strings.xml
+++ b/res/values/custom_strings.xml
@@ -355,7 +355,8 @@
     <string name="global_actions_anim">Appearance</string>
     <string name="global_actions_advanced_reboot_summary">Show more options in restart menu</string>
     <string name="global_actions_advanced_reboot_title">Enable advanced restart</string>
-
+    <string name="global_actions_advanced_reboot_summary_new">Show more options in restart menu if not locked</string>
+    
     <string name="font_sample_text">11:57</string>
 
     <string name="screenshot_crop_and_share_title">Screenshot crop &amp; share</string>
diff --git a/res/xml/global_actions.xml b/res/xml/global_actions.xml
index 6da6518..579dc0e 100644
--- a/res/xml/global_actions.xml
+++ b/res/xml/global_actions.xml
@@ -26,7 +26,8 @@
        <org.omnirom.omnigears.preference.SecureSettingSwitchPreference
             android:key="advanced_reboot"
             android:title="@string/global_actions_advanced_reboot_title"
-            android:summary="@string/global_actions_advanced_reboot_summary" />
+           android:summary="@string/global_actions_advanced_reboot_summary_new"
+            android:defaultValue="false" />
        <ListPreference
             android:key="power_menu_animations"
             android:title="@string/power_menu_animation_title"
@@ -35,5 +36,11 @@
             android:entryValues="@array/power_menu_animations_values"
             android:summary="@string/power_menu_animation_summary"
             android:persistent="false" />
+        <org.omnirom.omnigears.preference.SecureSettingSwitchPreference
+            android:key="lockscreen_power_menu_disabled"
+            android:title="@string/lockscreen_power_menu_disabled_title"
+            android:summary="@string/lockscreen_power_menu_disabled_summary"
+            android:defaultValue="false" />
+
     </PreferenceCategory>
 </PreferenceScreen>