From 719787806cd84ee86917b64f9679af38bbbf2b68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Sch=C3=A4ttgen?= Date: Wed, 22 Jan 2025 17:19:11 +0100 Subject: [PATCH] Add haptic feedback toggle for code refresh --- app/src/main/AndroidManifest.xml | 1 + .../beemdevelopment/aegis/Preferences.java | 4 ++ .../aegis/VibrationPatterns.java | 8 +++ .../aegis/helpers/UiRefresher.java | 1 - .../aegis/helpers/VibrationHelper.java | 51 +++++++++++++++++++ .../aegis/ui/views/EntryHolder.java | 20 +++++++- .../aegis/ui/views/EntryListView.java | 6 +++ app/src/main/res/values/strings.xml | 2 + app/src/main/res/xml/preferences_behavior.xml | 7 +++ 9 files changed, 97 insertions(+), 3 deletions(-) create mode 100644 app/src/main/java/com/beemdevelopment/aegis/VibrationPatterns.java create mode 100644 app/src/main/java/com/beemdevelopment/aegis/helpers/VibrationHelper.java diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 9156f0bfa4..0933718482 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -4,6 +4,7 @@ +