Revert "Cherish: Keyguard Batterybar & Color Modes [2/2]"
This reverts commit 36218a35f4.
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
@@ -1089,21 +1089,6 @@
|
||||
<item>2</item>
|
||||
<item>3</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Keygaurd batterybar color modes -->
|
||||
<string-array name="keygaurd_battery_bar_color_modes_entries" translatable="false">
|
||||
<item>@string/keyguard_battery_bar_color_gradient</item>
|
||||
<item>@string/keyguard_battery_bar_color_accent</item>
|
||||
<item>@string/keyguard_battery_bar_color_random</item>
|
||||
<item>@string/keyguard_battery_bar_color_custom</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="keygaurd_battery_bar_color_modes_values" translatable="false">
|
||||
<item>0</item>
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
<item>3</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Gaming mode-->
|
||||
<string-array name="gaming_mode_headsup_toggle_entries">
|
||||
|
||||
@@ -1027,19 +1027,6 @@
|
||||
<string name="flashlight_on_call_dnd">Only in DND mode</string>
|
||||
<string name="flashlight_on_call_always">Always</string>
|
||||
|
||||
<!-- Keygaurd battery bar & color modes -->
|
||||
<string name="keyguard_show_battery_title">Battery bar</string>
|
||||
<string name="keyguard_show_battery_summary">Show a battery bar on the ambient display when charging</string>
|
||||
<string name="keyguard_show_battery_always_title">Always show battery bar</string>
|
||||
<string name="keyguard_show_battery_always_summary">Always show a battery bar on the ambient display</string>
|
||||
<string name="keygaurd_battery_bar_color_title">Color</string>
|
||||
<string name="on_aod_title">AOD</string>
|
||||
<string name="keyguard_battery_bar_color_modes_title">Color mode</string>
|
||||
<string name="keyguard_battery_bar_color_gradient">Gradient</string>
|
||||
<string name="keyguard_battery_bar_color_accent">Accent</string>
|
||||
<string name="keyguard_battery_bar_color_random">Random</string>
|
||||
<string name="keyguard_battery_bar_color_custom">Custom</string>
|
||||
|
||||
<!-- Volume panel extras -->
|
||||
<string name="volume_panel_tint_title">Tint the active volume bar</string>
|
||||
<string name="volume_panel_tint_summary">Use a color gradient to tint the active volume bar</string>
|
||||
|
||||
@@ -1,55 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2021 TenX-OS
|
||||
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
|
||||
android:title="@string/keyguard_show_battery_title"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:ionionizer="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
|
||||
|
||||
<PreferenceCategory
|
||||
android:title="@string/on_aod_title">
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
||||
android:key="sysui_keyguard_show_battery_bar"
|
||||
android:title="@string/keyguard_show_battery_title"
|
||||
android:summary="@string/keyguard_show_battery_summary"
|
||||
android:defaultValue="false" />
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
||||
android:key="sysui_keyguard_show_battery_bar_always"
|
||||
android:title="@string/keyguard_show_battery_always_title"
|
||||
android:summary="@string/keyguard_show_battery_always_summary"
|
||||
android:defaultValue="false" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
android:title="@string/keygaurd_battery_bar_color_title">
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingListPreference
|
||||
android:key="keygaurd_battery_bar_color_mode"
|
||||
android:title="@string/keyguard_battery_bar_color_modes_title"
|
||||
android:entries="@array/keygaurd_battery_bar_color_modes_entries"
|
||||
android:entryValues="@array/keygaurd_battery_bar_color_modes_values"
|
||||
android:dependency="sysui_keyguard_show_battery_bar"
|
||||
android:defaultValue="0" />
|
||||
|
||||
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
||||
android:key="keygaurd_battery_bar_color_custom"
|
||||
android:title="@string/keyguard_battery_bar_color_custom"
|
||||
android:defaultValue="0xffffffff"
|
||||
android:persistent="false" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
</PreferenceScreen>
|
||||
@@ -269,13 +269,6 @@
|
||||
android:entryValues="@array/lockscreen_albumart_filter_values"
|
||||
android:dependency="lockscreen_media_metadata"
|
||||
android:defaultValue="0" />
|
||||
|
||||
<Preference
|
||||
android:key="keygaurd_batterybar"
|
||||
android:icon="@drawable/ic_battery_info"
|
||||
android:title="@string/keyguard_show_battery_title"
|
||||
android:summary="@string/keyguard_show_battery_summary"
|
||||
android:fragment="com.cherish.settings.fragments.KeygaurdBatteryBar" />
|
||||
|
||||
<!-- FOD Settings -->
|
||||
<Preference
|
||||
@@ -284,6 +277,5 @@
|
||||
android:icon="@drawable/ic_fingerprint"
|
||||
android:summary="@string/fod_category_summary"
|
||||
android:fragment="com.cherish.settings.fragments.lockscreen.FODSettings"/>
|
||||
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
|
||||
Reference in New Issue
Block a user