Cherish:allow hiding lockscreen shortcuts on secure lockscreen [2/2]

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
maxwen
2020-10-16 21:23:48 +07:00
committed by Hưng Phan
parent b919f5d01e
commit a1df8b388f
2 changed files with 11 additions and 0 deletions

View File

@@ -514,4 +514,8 @@
<string name="profile_choose_app">Choose app</string>
<string name="dialog_delete_title">Delete</string>
<string name="dialog_delete_message">Remove selected item?</string>
<!-- Hide Lockscreen shortcuts on secure Lockscreen -->
<string name="lockscreen_hide_shortcuts_title">Hide Bottom Shortcuts</string>
<string name="lockscreen_hide_shortcuts_summary">Hide Left-Right Shortcuts on secure lock screens</string>
</resources>

View File

@@ -189,6 +189,13 @@
android:fragment="com.cherish.settings.fragments.LockColors" />
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="hide_lock_shortcuts"
android:icon="@drawable/ic_lock_outline"
android:title="@string/lockscreen_hide_shortcuts_title"
android:summary="@string/lockscreen_hide_shortcuts_summary"
android:defaultValue="false" />
<!-- Lockscreen Visualizer-->
<PreferenceCategory
android:key="visualizer"