From b2626d388c1374bd9620636ca6f23ccea0a613c6 Mon Sep 17 00:00:00 2001 From: SuperDroidBond Date: Sat, 21 Aug 2021 15:11:42 +0530 Subject: [PATCH] Cherish[SQUASHED] System Charging Animation [2/2] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ChargingAnimation : change both Wired & Wiresless Charging animation [2/2] ChargingAnimation: move option to Xtras SDB: also add dependency with Charging Animation toggle ChargingAnimations: add a few more animations [2/2] ChargingAnimation : bring back the default one [2/2] Signed-off-by: Hưng Phan --- res/values/cherish_arrays.xml | 19 +++++++++++++++++++ res/values/cherish_strings.xml | 9 +++++++++ res/xml/cherish_settings_lockscreen.xml | 11 +++++++++++ 3 files changed, 39 insertions(+) diff --git a/res/values/cherish_arrays.xml b/res/values/cherish_arrays.xml index 8210118..a1d13c3 100644 --- a/res/values/cherish_arrays.xml +++ b/res/values/cherish_arrays.xml @@ -1387,4 +1387,23 @@ 4 5 + + + + @string/default_charging_animation + @string/sdb_charging_animation + @string/meme_ui_animation + @string/explosion_charging_animation + @string/rainbow_charging_animation + @string/fire_charging_animation + + + + 0 + 1 + 2 + 3 + 4 + 5 + diff --git a/res/values/cherish_strings.xml b/res/values/cherish_strings.xml index f80d158..3d858d2 100644 --- a/res/values/cherish_strings.xml +++ b/res/values/cherish_strings.xml @@ -1420,4 +1420,13 @@ Animation size + + + System Charging Animation + Android Default + CherishOS Default + MIUI + Explosion Animation + Rainbow Circle + Fire Circle diff --git a/res/xml/cherish_settings_lockscreen.xml b/res/xml/cherish_settings_lockscreen.xml index aae9345..4de1cd1 100644 --- a/res/xml/cherish_settings_lockscreen.xml +++ b/res/xml/cherish_settings_lockscreen.xml @@ -32,6 +32,17 @@ android:summary="@string/charging_animation_summary" android:defaultValue="true" /> + + +