Cherish:Intitial for Android 11

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
Hưng Phan
2020-09-26 12:29:26 +07:00
parent e1061bf1a5
commit e6308bab52
59 changed files with 20 additions and 9500 deletions

View File

@@ -18,65 +18,4 @@
android:title="@string/powermenu_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory
android:title="@string/panel_porn_title">
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
android:key="transparent_power_menu"
android:title="@string/power_menu_transparency"
android:max="100"
android:min="0"
settings:unitsLeft=""
settings:unitsRight="%"
android:defaultValue="100" />
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
android:key="transparent_power_dialog_dim"
android:title="@string/power_menu_dialog_dim"
android:max="100"
android:min="0"
settings:unitsLeft=""
settings:unitsRight="%"
android:defaultValue="50" />
</PreferenceCategory>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:icon="@drawable/ic_recovery"
android:key="advanced_reboot"
android:title="@string/advanced_reboot_title"
android:summary="@string/advanced_reboot_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.GlobalSettingSwitchPreference
android:key="power_menu_emergency_affordance"
android:icon="@drawable/ic_emergency"
android:title="@string/power_menu_emergency_title"
android:defaultValue="true" />
<PreferenceCategory
android:title="@string/lockscreen_secure_power_title">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="lockscreen_disable_power_menu"
android:icon="@drawable/ic_lock_outline"
android:title="@string/lockscreen_power_menu_disabled_title"
android:summary="@string/lockscreen_power_menu_disabled_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.GlobalSettingSwitchPreference
android:key="lockscreen_enable_power_menu"
android:icon="@drawable/ic_power"
android:title="@string/lockscreen_enable_power_menu_title"
android:summary="@string/lockscreen_enable_power_menu_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.GlobalSettingSwitchPreference
android:key="lockscreen_powermenu_secure"
android:icon="@drawable/ic_lock_outline"
android:title="@string/lockscreen_secure_power_menu_title"
android:summary="@string/lockscreen_secure_power_menu_summary"
android:dependency="lockscreen_enable_power_menu"
android:defaultValue="false" />
</PreferenceCategory>
</PreferenceScreen>