From 0c0da892cb888cf592e865b9aa9b3ea2565bbd51 Mon Sep 17 00:00:00 2001 From: ezio84 Date: Fri, 26 Aug 2022 18:39:25 +0700 Subject: [PATCH] Cherish:Allow to suppress notifications sound/vibration if screen is On [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 | 3 +++ res/xml/cherish_settings_notifications.xml | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/res/values/cherish_strings.xml b/res/values/cherish_strings.xml index 47c6434..16088f1 100644 --- a/res/values/cherish_strings.xml +++ b/res/values/cherish_strings.xml @@ -171,5 +171,8 @@ Lockscreen double tap to sleep Double tap anywhere on the lockscreen to put the device to sleep + + Noisy notifications if screen on + Disable to block notifications sound and vibration when the screen is awake diff --git a/res/xml/cherish_settings_notifications.xml b/res/xml/cherish_settings_notifications.xml index 1c16eae..5cd404a 100644 --- a/res/xml/cherish_settings_notifications.xml +++ b/res/xml/cherish_settings_notifications.xml @@ -46,6 +46,12 @@ android:key="charging_light" android:fragment="com.cherish.settings.fragments.BatteryLightSettings" android:title="@string/battery_light_settings" /> + +