Cherish: Add toggle to disable battery estimates in QS [2/2]

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
SKULSHADY
2021-11-25 01:07:41 +07:00
committed by Hưng Phan
parent fc1572674a
commit 155598b3c7
2 changed files with 12 additions and 0 deletions

View File

@@ -386,4 +386,8 @@
<!-- Combined signal icons in status bar -->
<string name="combined_status_bar_signal_icons">Combined signal icons</string>
<string name="combined_status_bar_signal_icons_summary">Enable combined signal icons in status bar.\nRequires a SystemUI restart</string>
<!-- QS battery estimates -->
<string name="qs_show_battery_estimate_title">Battery estimates</string>
<string name="qs_show_battery_estimate_summary">Show estimated remaining battery life next to the icon</string>
</resources>

View File

@@ -20,6 +20,14 @@
<PreferenceCategory
android:title="@string/qs_title">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_show_battery_estimate"
android:title="@string/qs_show_battery_estimate_title"
android:summary="@string/qs_show_battery_estimate_summary"
android:defaultValue="true"/>
</PreferenceCategory>
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="quick_settings_vibrate"