Revert "Cherish:add edge light customizations[2/2]"

This reverts commit c54c2eb6c2.

Revert "Cherish:update edge light preferences"

This reverts commit b88457ea22.

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
Hưng Phan
2023-01-13 13:42:33 +07:00
parent f51e75a73e
commit 10b4dbc806
6 changed files with 0 additions and 268 deletions

View File

@@ -1,52 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2022 FlamingoOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
android:title="@string/edge_light_title">
<com.android.settingslib.widget.TopIntroPreference
android:key="edge_light_intro"
android:title="@string/edge_light_intro_text" />
<com.cherish.settings.preferences.SystemSettingMainSwitchPreference
android:key="edge_light_enabled"
android:title="@string/enable_edge_light"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="edge_light_always_trigger_on_pulse"
android:title="@string/edge_light_always_trigger_on_pulse_title"
android:summary="@string/edge_light_always_trigger_on_pulse_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="edge_light_repeat_animation"
android:title="@string/edge_light_repeat_animation_title"
android:summaryOn="@string/edge_light_repeat_animation_summary_on"
android:summaryOff="@string/edge_light_repeat_animation_summary_off"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="edge_light_color_mode"
android:title="@string/edge_light_color_mode_title"
android:entries="@array/edge_light_color_mode_entries"
android:entryValues="@array/edge_light_color_mode_values"
android:summary="%s"
android:defaultValue="0" />
<com.cherish.settings.preferences.SystemSettingColorPickerPreference
android:key="edge_light_custom_color"
android:title="@string/edge_light_custom_color_title"
android:defaultValue="#FFFFFF" />
</PreferenceScreen>

View File

@@ -33,12 +33,6 @@
android:entries="@array/torch_power_button_gesture_entries"
android:entryValues="@array/torch_power_button_gesture_values" />
<Preference
android:key="edge_light_enabled"
android:title="@string/edge_light_title"
android:summary="@string/edge_light_intro_text"
android:fragment="com.cherish.settings.lockscreen.EdgeLightSettings"/>
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="power_menu_hide_on_secure"
android:title="@string/power_menu_hide_on_secure_title"