Evolver: Hide power menu on secure lock screen [2/2]
Signed-off-by: AnierinB <anierin@evolution-x.org>
This commit is contained in:
@@ -117,6 +117,11 @@
|
||||
<string name="notifications_alert_display_on_title">Alert while display on</string>
|
||||
<string name="notifications_alert_display_on_summary">Play sound and vibration for notifications while the display is on</string>
|
||||
|
||||
<!-- Power menu -->
|
||||
<string name="power_menu_lock_screen_category">Lock screen</string>
|
||||
<string name="power_menu_lock_screen_secure_title">Show on secure lock screen</string>
|
||||
<string name="power_menu_lock_screen_secure_summary">Show the power menu while the device is locked</string>
|
||||
|
||||
<!-- Miscellaneous -->
|
||||
<string name="miscellaneous_spoofing_category">Spoofing</string>
|
||||
<string name="miscellaneous_developer_options_category">Developer options</string>
|
||||
|
||||
@@ -9,4 +9,15 @@
|
||||
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
|
||||
android:title="@string/power_menu_title">
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="power_menu_lock_screen_category"
|
||||
android:title="@string/power_menu_lock_screen_category">
|
||||
|
||||
<!-- Secure lock screen power menu -->
|
||||
<org.evolution.settings.preferences.SystemSettingSwitchPreference
|
||||
android:key="lockscreen_enable_power_menu"
|
||||
android:title="@string/power_menu_lock_screen_secure_title"
|
||||
android:summary="@string/power_menu_lock_screen_secure_summary"
|
||||
android:defaultValue="true" />
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
|
||||
Reference in New Issue
Block a user