From 86d7ac73dcdf1badf0f2e4b2b47a336af372e870 Mon Sep 17 00:00:00 2001 From: Genkzsz11 Date: Mon, 29 Mar 2021 01:15:59 +0700 Subject: [PATCH] Cherish: add reverse animation direction for edge light MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Genkzsz11 Signed-off-by: bezke Signed-off-by: Hưng Phan --- res/values/cherish_arrays.xml | 9 +++++++++ res/values/cherish_strings.xml | 3 +++ res/xml/cherish_settings_notifications.xml | 7 +++++++ 3 files changed, 19 insertions(+) diff --git a/res/values/cherish_arrays.xml b/res/values/cherish_arrays.xml index 0adee60..e30d411 100644 --- a/res/values/cherish_arrays.xml +++ b/res/values/cherish_arrays.xml @@ -51,6 +51,15 @@ 2 + + @string/pulse_ambient_light_repeat_direction_restart + @string/pulse_ambient_light_repeat_direction_reverse + + + 0 + 1 + + @string/torch_long_press_power_timeout_never @string/torch_long_press_power_timeout_1min diff --git a/res/values/cherish_strings.xml b/res/values/cherish_strings.xml index 54e3b3a..6b425dd 100644 --- a/res/values/cherish_strings.xml +++ b/res/values/cherish_strings.xml @@ -889,6 +889,9 @@ Screen edge lighting Show on new notifcation Show light pulse on new notification + Light repeat mode + Restart + Reverse Show on always on Show light pulse on new notification using always on Custom color diff --git a/res/xml/cherish_settings_notifications.xml b/res/xml/cherish_settings_notifications.xml index ab84b6d..02ec6d9 100644 --- a/res/xml/cherish_settings_notifications.xml +++ b/res/xml/cherish_settings_notifications.xml @@ -217,6 +217,13 @@ settings:interval="1" android:dependency="pulse_ambient_light" /> + +