Cherish:Add ability to toggle bluetooth battery level [2/2]

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
Pranav Vashi
2022-09-24 10:50:56 +07:00
committed by Hưng Phan
parent 9a73c5ca57
commit 4f1a57e28d
2 changed files with 10 additions and 0 deletions

View File

@@ -539,4 +539,8 @@
<string name="statusbar_colored_icons_title">Colored icons</string>
<string name="statusbar_colored_icons_summary">Use proper app icons for notification icons in statusbar</string>
<!-- Bluetooth status -->
<string name="bluetooth_battery_title">Bluetooth battery status</string>
<string name="bluetooth_battery_summary">Display battery status for the connected bluetooth device, if available</string>
</resources>

View File

@@ -126,6 +126,12 @@
android:summary="@string/statusbar_colored_icons_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="bluetooth_show_battery"
android:title="@string/bluetooth_battery_title"
android:summary="@string/bluetooth_battery_summary"
android:defaultValue="true"/>
<!-- Birghtness control -->
<com.cherish.settings.preferences.SystemSettingSwitchPreference