Add setting for showing the vibrate icon in status bar

Test: manual
Bug: 220144337
Change-Id: I2d389d71dd9402353b058039464495a1d33ef0e9
Merged-In: I2d389d71dd9402353b058039464495a1d33ef0e9
This commit is contained in:
Evan Laird
2022-01-10 19:44:18 +00:00
parent 35b818e4f8
commit 16148d2c8c
5 changed files with 60 additions and 0 deletions

View File

@@ -8497,6 +8497,9 @@
<!-- Sound: Other sounds: Title for the option enabling touch sounds. [CHAR LIMIT=30] -->
<string name="touch_sounds_title">Touch sounds</string>
<!-- Sound: Other sounds: Title for the option enabling the vibrate icon. [CHAR LIMIT=50] -->
<string name="vibrate_icon_title">Always show icon when in vibrate mode</string>
<!-- Sound: Other sounds: Title for the option enabling haptic feedback on touch. [CHAR LIMIT=30] -->
<string name="vibrate_on_touch_title">Touch vibration</string>

View File

@@ -44,6 +44,11 @@
android:key="touch_sounds"
android:title="@string/touch_sounds_title" />
<!-- Vibrate icon in status bar -->
<SwitchPreference
android:key="vibrate_icon"
android:title="@string/vibrate_icon_title" />
<!-- Vibrate on touch -->
<SwitchPreference
android:key="vibrate_on_touch"

View File

@@ -191,6 +191,12 @@
android:title="@string/touch_sounds_title"
android:order="-30"/>
<!-- Show vibrate icon in status bar -->
<SwitchPreference
android:key="vibrate_icon"
android:title="@string/vibrate_icon_title"
android:order="-27"/>
<!-- Vibrate on touch -->
<SwitchPreference
android:key="vibrate_on_touch"