Cherish: Add toggle to disable charging animation [2/2]
Change-Id: I0b6c2f4bf75eef8a8a6a5fabf729c4cfa80c327d Signed-off-by: SagarMakhar <sagarmakhar@gmail.com> Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
committed by
Hưng Phan
parent
8cd3e04aab
commit
d93c85d6bc
@@ -343,4 +343,8 @@
|
||||
<string name="lockscreen_battery_info_title">Lockscreen charging info</string>
|
||||
<string name="lockscreen_battery_info_summary">Show charging current, voltage, wattage and battery temperature on lockscreen while charging</string>
|
||||
|
||||
</resources>
|
||||
<!-- Charging animation -->
|
||||
<string name="charging_animation_title">Charging animation</string>
|
||||
<string name="charging_animation_summary">Display an animation when the device is plugged in</string>
|
||||
|
||||
</resources>
|
||||
@@ -18,4 +18,10 @@
|
||||
android:title="@string/misc_title"
|
||||
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
||||
android:key="charging_animation"
|
||||
android:title="@string/charging_animation_title"
|
||||
android:summary="@string/charging_animation_summary"
|
||||
android:defaultValue="false" />
|
||||
|
||||
</PreferenceScreen>
|
||||
|
||||
Reference in New Issue
Block a user