From 69e0b4c2a2424b83ce0ec876938ec3e73dd5b612 Mon Sep 17 00:00:00 2001
From: Jules Aguillon
Date: Sat, 3 Jun 2023 11:08:22 +0200
Subject: More control over vibration
The newer haptic feedback API that is used instead of the vibrator
service since ef03dfe doesn't work for everyone.
The new vibration option allow to choose both the newer API ("system")
and the older API ("strong", "medium", "light").
---
res/values/arrays.xml | 14 ++++++++++++++
res/values/strings.xml | 5 +++++
2 files changed, 19 insertions(+)
(limited to 'res/values')
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
index 51c5940..cf66614 100644
--- a/res/values/arrays.xml
+++ b/res/values/arrays.xml
@@ -134,4 +134,18 @@
- 25
- 35
+
+ - @string/pref_vibration_e_disabled
+ - @string/pref_vibration_e_system
+ - @string/pref_vibration_e_strong
+ - @string/pref_vibration_e_medium
+ - @string/pref_vibration_e_light
+
+
+ - disabled
+ - system
+ - strong
+ - medium
+ - light
+
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 7b6e0df..94eb47d 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -67,6 +67,11 @@
Advanced
Custom layout
See the source code. This option is not meant to be used.
+ Disabled
+ System
+ Strong
+ Medium
+ Light
Next
Done
Go
--
cgit v1.2.3