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:
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user