From 578c823a3160eb585e3b5480ca17b0855436a27e Mon Sep 17 00:00:00 2001 From: beanstown106 Date: Mon, 25 Oct 2021 17:57:04 +0700 Subject: [PATCH] Cherish:incall vibration options [3/3] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit *allow setting vibration when call is connected *allow setting vibration when call is disconnected *allow setting vibration for call waiting *this works with google and aosp dialer :) Change-Id: Id1a431124174571f8d0091825af2418971cfe35d Signed-off-by: AmolAmrit Signed-off-by: SagarMakhar Signed-off-by: Hưng Phan --- res/values/cherish_strings.xml | 5 ++++ res/xml/cherish_settings_notifications.xml | 4 ++-- .../fragments/NotificationSettings.java | 7 ++++++ src/com/cherish/settings/utils/Utils.java | 23 ++++++++++++++++--- 4 files changed, 34 insertions(+), 5 deletions(-) diff --git a/res/values/cherish_strings.xml b/res/values/cherish_strings.xml index 5e6308c..26894bb 100644 --- a/res/values/cherish_strings.xml +++ b/res/values/cherish_strings.xml @@ -262,4 +262,9 @@ Left of time Date position + + In-call vibration options + Vibrate on connect + Vibrate on call waiting + Vibrate on disconnect diff --git a/res/xml/cherish_settings_notifications.xml b/res/xml/cherish_settings_notifications.xml index 9e04ef4..615fb7c 100644 --- a/res/xml/cherish_settings_notifications.xml +++ b/res/xml/cherish_settings_notifications.xml @@ -18,7 +18,7 @@ android:title="@string/notifications_title" xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"> - +