[2/2] OmniGears: config to disable power menu on secure lock screen
Change-Id: I57efdc2e74122e9f32ad4df538ab08fd90f0c5b4
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>