Cherish:Hide power menu on secure lockscreen [2/2]

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
Altaf-Mahdi
2022-09-05 21:44:01 +07:00
committed by Hưng Phan
parent b75c8ca469
commit 0ee31a3899
2 changed files with 10 additions and 0 deletions

View File

@@ -324,4 +324,8 @@
<!-- Brightness control -->
<string name="status_bar_brightness_control_title">Brightness control</string>
<string name="status_bar_brightness_control_summary">Adjust brightness by sliding across the status bar</string>
<!-- Power menu on lockscreen -->
<string name="power_menu_hide_on_secure_title">Hide power menu on lock screen</string>
<string name="power_menu_hide_on_secure_summary">This will hide the power menu only on a secure lock screen</string>
</resources>

View File

@@ -27,6 +27,12 @@
android:summary="@string/double_tap_sleep_lockscreen_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="power_menu_hide_on_secure"
android:title="@string/power_menu_hide_on_secure_title"
android:summary="@string/power_menu_hide_on_secure_summary"
android:defaultValue="false" />
</PreferenceCategory>