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
421bcec8b6
commit
eda5250616
@@ -722,4 +722,8 @@
|
|||||||
<string name="lockscreen_lock_icon_title">Lock icon</string>
|
<string name="lockscreen_lock_icon_title">Lock icon</string>
|
||||||
<string name="lockscreen_lock_icon_summary">Display lock icon on the lockscreen</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>
|
</resources>
|
||||||
|
|||||||
@@ -25,6 +25,13 @@
|
|||||||
android:summary="@string/lockscreen_battery_info_summary"
|
android:summary="@string/lockscreen_battery_info_summary"
|
||||||
android:defaultValue="true" />
|
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
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
||||||
android:key="fingerprint_success_vib"
|
android:key="fingerprint_success_vib"
|
||||||
android:icon="@drawable/ic_fingerprint"
|
android:icon="@drawable/ic_fingerprint"
|
||||||
|
|||||||
Reference in New Issue
Block a user