Cherish: Allow enabling/disabling Ezio's Android 11 powermenu [2/2]

Change-Id: If3a5d9e02a601fa9bfb04c9c11ef3bde5a0d8d09
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
calebcabob
2020-12-11 13:09:28 -05:00
committed by Hưng Phan
parent 67bee504a9
commit 83ac501db9
2 changed files with 11 additions and 0 deletions

View File

@@ -1197,4 +1197,8 @@
<!-- Notification background opacity -->
<string name="notification_alpha_title">Notification background opacity</string>
<!-- Global Actions -->
<string name="powermenu_advanced_reboot_title">Advanced reboot</string>
<string name="powermenu_advanced_reboot_summary">Enables access to recovery and bootloader</string>
</resources>

View File

@@ -26,6 +26,13 @@
android:entryValues="@array/power_menu_animations_values"
android:summary="@string/power_menu_animation_summary"
android:persistent="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="advanced_reboot"
android:icon="@drawable/ic_recovery"
android:title="@string/powermenu_advanced_reboot_title"
android:summary="@string/powermenu_advanced_reboot_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="lockscreen_power_menu_disabled"