Cherish:Disabling quick settings on secure lock screens [2/2]

This commit is contained in:
maxwen
2018-10-13 22:18:54 +07:00
committed by Hung Phan
parent 87fb09d06f
commit 8149d23826
2 changed files with 10 additions and 0 deletions

View File

@@ -417,5 +417,9 @@
<!-- Wake on charge --> <!-- Wake on charge -->
<string name="wake_when_plugged_or_unplugged_title">Wake up on charge</string> <string name="wake_when_plugged_or_unplugged_title">Wake up on charge</string>
<string name="wake_when_plugged_or_unplugged_summary">Wake up the device if charger is plugged/unplugged</string> <string name="wake_when_plugged_or_unplugged_summary">Wake up the device if charger is plugged/unplugged</string>
<!-- Quick Settings -->
<string name="lockscreen_qs_disabled_title">Disable quick settings when locked</string>
<string name="lockscreen_qs_disabled_summary">Disable expanding quick settings on secure lock screens</string>
</resources> </resources>

View File

@@ -65,6 +65,12 @@
<PreferenceCategory <PreferenceCategory
android:title="@string/qs_title"> android:title="@string/qs_title">
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="status_bar_locked_on_secure_keyguard"
android:title="@string/lockscreen_qs_disabled_title"
android:summary="@string/lockscreen_qs_disabled_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference <com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_bottom_brightness" android:key="qs_bottom_brightness"