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:
Anushek Prasal
2019-06-06 14:50:47 +05:30
committed by Hưng Phan
parent 9bc01717b7
commit f1e8be2582
2 changed files with 11 additions and 1 deletions

View File

@@ -453,4 +453,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>

View File

@@ -24,4 +24,10 @@
android:summary="@string/status_bar_toggle_brightness_summary"
android:defaultValue="false" />
<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>