Cherish:Add an option to ask pin for shutdown/reboot on secure lockscreen [2/2]
This commit is contained in:
@@ -46,7 +46,16 @@
|
||||
android:title="@string/advanced_reboot_title"
|
||||
android:summary="@string/advanced_reboot_summary"
|
||||
android:defaultValue="false" />
|
||||
|
||||
|
||||
<com.cherish.settings.preferences.GlobalSettingSwitchPreference
|
||||
android:key="power_menu_emergency_affordance"
|
||||
android:icon="@drawable/ic_emergency"
|
||||
android:title="@string/power_menu_emergency_title"
|
||||
android:defaultValue="true" />
|
||||
|
||||
|
||||
<PreferenceCategory
|
||||
android:title="@string/lockscreen_secure_power_title">
|
||||
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
||||
android:key="lockscreen_disable_power_menu"
|
||||
android:title="@string/lockscreen_power_menu_disabled_title"
|
||||
@@ -54,9 +63,11 @@
|
||||
android:defaultValue="false" />
|
||||
|
||||
<com.cherish.settings.preferences.GlobalSettingSwitchPreference
|
||||
android:key="power_menu_emergency_affordance"
|
||||
android:icon="@drawable/ic_emergency"
|
||||
android:title="@string/power_menu_emergency_title"
|
||||
android:defaultValue="true" />
|
||||
|
||||
android:key="lockscreen_powermenu_secure"
|
||||
android:icon="@drawable/ic_lock_outline"
|
||||
android:title="@string/lockscreen_secure_power_menu_title"
|
||||
android:summary="@string/lockscreen_secure_power_menu_summary"
|
||||
android:dependency="lockscreen_enable_power_menu"
|
||||
android:defaultValue="false" />
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
|
||||
Reference in New Issue
Block a user