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 421bcec8b6
commit eda5250616
2 changed files with 11 additions and 0 deletions

View File

@@ -722,4 +722,8 @@
<string name="lockscreen_lock_icon_title">Lock icon</string>
<string name="lockscreen_lock_icon_summary">Display lock icon on the lockscreen</string>
<!-- 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

@@ -25,6 +25,13 @@
android:summary="@string/lockscreen_battery_info_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="charging_animation"
android:icon="@drawable/ic_charging"
android:title="@string/charging_animation_title"
android:summary="@string/charging_animation_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="fingerprint_success_vib"
android:icon="@drawable/ic_fingerprint"