Cherish:Cleanup for android 12

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
Hưng Phan
2021-10-24 20:56:46 +07:00
parent 2ee28134b0
commit 3c58bb7cd8
144 changed files with 12 additions and 63182 deletions

View File

@@ -18,240 +18,5 @@
android:title="@string/button_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory
android:key="navbar"
android:title="@string/navbar_title">
<Preference
android:key="system_navigation_settings_preferences"
android:title="@string/navbar_gestures_title"
android:icon="@drawable/ic_swipe"
android:summary="@string/navbar_gestures_summary"
android:fragment="com.android.settings.gestures.SystemNavigationGestureSettings"
settings:controller="com.android.settings.gestures.SystemNavigationPreferenceController" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="navigation_bar_menu_arrow_keys"
android:title="@string/navigation_bar_arrow_keys_title"
android:summary="@string/navigation_bar_arrow_keys_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="sysui_nav_bar_inverse"
android:icon="@drawable/ic_arrow"
android:title="@string/navigation_bar_invert_layout_title"
android:summary="@string/navigation_bar_invert_layout_summary"
android:defaultValue="false" />
<SwitchPreference
android:key="navigation_bar_show_new"
android:icon="@drawable/ic_arrow"
android:title="@string/navbar_visibility"
android:summary="@string/navbar_vis_summary" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="pixel_nav_animation"
android:title="@string/pixel_navbar_anim_title"
android:summary="@string/pixel_navbar_anim_summary"
android:defaultValue="true" />
</PreferenceCategory>
<Preference
android:key="gesture_key"
android:fragment="com.cherish.settings.fragments.GestureSettings"
android:icon="@drawable/ic_tap"
android:title="@string/gestures_title" />
<Preference
android:key="volume_key"
android:icon="@drawable/ic_hw"
android:fragment="com.cherish.settings.fragments.VolumeRockerSettings"
android:title="@string/volume_title" />
<PreferenceCategory
android:key="hardware_keys"
android:title="@string/hardware_keys_category" >
<SwitchPreference
android:key="hardware_keys_disable"
android:title="@string/hardware_keys_disable_title" />
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="button_brightness"
android:title="@string/button_brightness_title"
android:max="100"
android:icon="@drawable/ic_hw"
settings:min="0"
settings:units=""
android:persistent="false" />
<SwitchPreference
android:key="button_brightness_sw"
android:icon="@drawable/ic_hw"
android:title="@string/button_brightness_sw_title"
android:persistent="false" />
<ListPreference
android:dialogTitle="@string/backlight_timeout_title"
android:entries="@array/backlight_timeout_entries"
android:entryValues="@array/backlight_timeout_values"
android:key="backlight_timeout"
android:persistent="false"
android:title="@string/backlight_timeout_title" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="button_backlight_only_when_pressed"
android:title="@string/button_backlight_on_touch_only_title"
android:summary="@string/button_backlight_on_touch_only_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="anbi_enabled_option"
android:icon="@drawable/ic_hw"
android:title="@string/anbi_title"
android:summary="@string/anbi_summary"
android:defaultValue="false" />
</PreferenceCategory>
<PreferenceCategory
android:key="back_key"
android:title="@string/hardware_keys_back_key_title" >
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_back_single_tap"
android:summary="@string/hardware_keys_single_tap_summary"
android:title="@string/hardware_keys_single_tap_title" >
</com.cherish.settings.preferences.ActionPreference>
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_back_long_press"
android:icon="@drawable/ic_hw"
android:summary="@string/hardware_keys_long_press_summary"
android:title="@string/hardware_keys_long_press_title" >
</com.cherish.settings.preferences.ActionPreference>
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_back_double_tap"
android:icon="@drawable/ic_tap"
android:summary="@string/hardware_keys_double_tap_summary"
android:title="@string/hardware_keys_double_tap_title" >
</com.cherish.settings.preferences.ActionPreference>
</PreferenceCategory>
<PreferenceCategory
android:key="home_key"
android:title="@string/hardware_keys_home_key_title" >
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_home_single_tap"
android:icon="@drawable/ic_tap"
android:summary="@string/hardware_keys_single_tap_summary"
android:title="@string/hardware_keys_single_tap_title" >
</com.cherish.settings.preferences.ActionPreference>
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_home_long_press"
android:icon="@drawable/ic_hw"
android:summary="@string/hardware_keys_long_press_summary"
android:title="@string/hardware_keys_long_press_title" >
</com.cherish.settings.preferences.ActionPreference>
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_home_double_tap"
android:icon="@drawable/ic_tap"
android:summary="@string/hardware_keys_double_tap_summary"
android:title="@string/hardware_keys_double_tap_title" >
</com.cherish.settings.preferences.ActionPreference>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="allow_incall_home"
android:icon="@drawable/ic_call"
android:title="@string/allow_incall_home_title"
android:summary="@string/allow_incall_home_summary"
android:defaultValue="true" />
</PreferenceCategory>
<PreferenceCategory
android:key="app_switch_key"
android:title="@string/hardware_keys_appswitch_key_title" >
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_overview_single_tap"
android:icon="@drawable/ic_tap"
android:summary="@string/hardware_keys_single_tap_summary"
android:title="@string/hardware_keys_single_tap_title" >
</com.cherish.settings.preferences.ActionPreference>
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_overview_long_press"
android:icon="@drawable/ic_hw"
android:summary="@string/hardware_keys_long_press_summary"
android:title="@string/hardware_keys_long_press_title" >
</com.cherish.settings.preferences.ActionPreference>
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_overview_double_tap"
android:icon="@drawable/ic_tap"
android:summary="@string/hardware_keys_double_tap_summary"
android:title="@string/hardware_keys_double_tap_title" >
</com.cherish.settings.preferences.ActionPreference>
</PreferenceCategory>
<PreferenceCategory
android:key="menu_key"
android:title="@string/hardware_keys_menu_key_title" >
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_menu_single_tap"
android:summary="@string/hardware_keys_single_tap_summary"
android:title="@string/hardware_keys_single_tap_title" >
</com.cherish.settings.preferences.ActionPreference>
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_menu_long_press"
android:icon="@drawable/ic_hw"
android:summary="@string/hardware_keys_long_press_summary"
android:title="@string/hardware_keys_long_press_title" >
</com.cherish.settings.preferences.ActionPreference>
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_menu_double_tap"
android:icon="@drawable/ic_tap"
android:summary="@string/hardware_keys_double_tap_summary"
android:title="@string/hardware_keys_double_tap_title" >
</com.cherish.settings.preferences.ActionPreference>
</PreferenceCategory>
<PreferenceCategory
android:key="assist_key"
android:title="@string/hardware_keys_assist_key_title" >
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_assist_single_tap"
android:icon="@drawable/ic_hw"
android:summary="@string/hardware_keys_single_tap_summary"
android:title="@string/hardware_keys_single_tap_title" >
</com.cherish.settings.preferences.ActionPreference>
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_assist_long_press"
android:icon="@drawable/ic_hw"
android:summary="@string/hardware_keys_long_press_summary"
android:title="@string/hardware_keys_long_press_title" >
</com.cherish.settings.preferences.ActionPreference>
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_assist_double_tap"
android:icon="@drawable/ic_tap"
android:summary="@string/hardware_keys_double_tap_summary"
android:title="@string/hardware_keys_double_tap_title" >
</com.cherish.settings.preferences.ActionPreference>
</PreferenceCategory>
</PreferenceScreen>