From 67b03a95275feae49c6426981171736acf9335cf Mon Sep 17 00:00:00 2001 From: idoybh Date: Fri, 4 Dec 2020 19:28:44 +0100 Subject: [PATCH] Cherish: Only allow edge lights on AOD when AOD is enabled [2/2] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Hưng Phan --- res/values/cherish_strings.xml | 1 + res/xml/cherish_settings_notifications.xml | 3 ++- .../fragments/NotificationSettings.java | 19 ++++++++++++++++++- 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/res/values/cherish_strings.xml b/res/values/cherish_strings.xml index c843206..506fb49 100644 --- a/res/values/cherish_strings.xml +++ b/res/values/cherish_strings.xml @@ -874,6 +874,7 @@ Restart Reverse Show on always on + AOD is disabled Show light pulse on new notification using always on Custom color Default color for light pulse diff --git a/res/xml/cherish_settings_notifications.xml b/res/xml/cherish_settings_notifications.xml index cf249da..512e86a 100644 --- a/res/xml/cherish_settings_notifications.xml +++ b/res/xml/cherish_settings_notifications.xml @@ -163,7 +163,8 @@ android:key="ambient_notification_light_enabled" android:title="@string/ambient_notification_light_enabled_title" android:summary="@string/ambient_notification_light_enabled_summary" - android:defaultValue="false" /> + android:defaultValue="false" + android:persistent="false" />