Evolver: Allow disabling qs on secure lockscreen [2/2]

Signed-off-by: AnierinB <anierin@evolution-x.org>
This commit is contained in:
jhonboy121
2024-04-26 12:58:30 +09:00
committed by Joey Huab
parent ecf2dd1c54
commit ecb83e447c
2 changed files with 16 additions and 0 deletions

View File

@@ -104,6 +104,11 @@
<string name="status_bar_projection_privacy_indicator_title">Screen projection</string>
<string name="status_bar_projection_privacy_indicator_summary">Display an indicator when the screen is being projected</string>
<!-- Quick settings -->
<string name="quick_settings_lock_screen_category">Lock screen</string>
<string name="quick_settings_secure_lock_screen_title">Hide on secure lock screen</string>
<string name="quick_settings_secure_lock_screen_summary">Hide all quick settings in the notification shade while the device is locked</string>
<!-- Miscellaneous -->
<string name="miscellaneous_spoofing_category">Spoofing</string>
<string name="miscellaneous_developer_options_category">Developer options</string>

View File

@@ -9,4 +9,15 @@
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
android:title="@string/quick_settings_title">
<PreferenceCategory
android:key="quick_settings_lock_screen_category"
android:title="@string/quick_settings_lock_screen_category">
<!-- Hide on secure lock screen -->
<org.evolution.settings.preferences.SystemSettingSwitchPreference
android:key="secure_lockscreen_qs_disabled"
android:title="@string/quick_settings_secure_lock_screen_title"
android:summary="@string/quick_settings_secure_lock_screen_summary"
android:defaultValue="false" />
</PreferenceCategory>
</PreferenceScreen>