From a5aef65c5c995a3de08c8369d63d553fe6a92405 Mon Sep 17 00:00:00 2001 From: Beanstown Date: Mon, 20 Mar 2023 02:20:22 +0700 Subject: [PATCH] Cherish: Fingerprint authentication vibration [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 | 7 +++ res/xml/cherish_settings_gestures.xml | 2 +- res/xml/cherish_settings_lockscreen.xml | 18 ++++++++ .../fragments/LockScreenSettings.java | 45 +++++++++++++++++-- 4 files changed, 67 insertions(+), 5 deletions(-) diff --git a/res/values/cherish_strings.xml b/res/values/cherish_strings.xml index 5fbe400..0f6207c 100644 --- a/res/values/cherish_strings.xml +++ b/res/values/cherish_strings.xml @@ -19,6 +19,7 @@ Hardware keys, Navigation bar Gestures Jump to camera, swipe to screenshot + Fingerprint Lock screen Music visualizer, charging animation, clock style Miscellaneous @@ -864,4 +865,10 @@ Vivid Colors Use colorful and darker monet shades + + + Fingerprint error vibration + Vibrate on error fingerprint authentication + Fingerprint authentication vibration + Vibrate on successful fingerprint authentication diff --git a/res/xml/cherish_settings_gestures.xml b/res/xml/cherish_settings_gestures.xml index e72f6a0..7c7317a 100644 --- a/res/xml/cherish_settings_gestures.xml +++ b/res/xml/cherish_settings_gestures.xml @@ -18,4 +18,4 @@ android:title="@string/gestures_title" xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"> - + \ No newline at end of file diff --git a/res/xml/cherish_settings_lockscreen.xml b/res/xml/cherish_settings_lockscreen.xml index 3907698..ae683f5 100644 --- a/res/xml/cherish_settings_lockscreen.xml +++ b/res/xml/cherish_settings_lockscreen.xml @@ -72,6 +72,24 @@ android:title="@string/enable_fingerprint_ripple_effect_title" android:summary="@string/enable_fingerprint_ripple_effect_summary" android:defaultValue="true" /> + + + + + + + +