From 16148d2c8cfc53e92ba966a1e06942a38779cd9d Mon Sep 17 00:00:00 2001 From: Evan Laird Date: Mon, 10 Jan 2022 19:44:18 +0000 Subject: [PATCH] Add setting for showing the vibrate icon in status bar Test: manual Bug: 220144337 Change-Id: I2d389d71dd9402353b058039464495a1d33ef0e9 Merged-In: I2d389d71dd9402353b058039464495a1d33ef0e9 --- res/values/strings.xml | 3 ++ res/xml/other_sound_settings.xml | 5 +++ res/xml/sound_settings.xml | 6 +++ .../settings/notification/SoundSettings.java | 4 ++ .../VibrateIconPreferenceController.java | 42 +++++++++++++++++++ 5 files changed, 60 insertions(+) create mode 100644 src/com/android/settings/notification/VibrateIconPreferenceController.java diff --git a/res/values/strings.xml b/res/values/strings.xml index f7be31c15f2..666ec5220c6 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -8497,6 +8497,9 @@ Touch sounds + + Always show icon when in vibrate mode + Touch vibration diff --git a/res/xml/other_sound_settings.xml b/res/xml/other_sound_settings.xml index 7b3f362eec8..35444b3692f 100644 --- a/res/xml/other_sound_settings.xml +++ b/res/xml/other_sound_settings.xml @@ -44,6 +44,11 @@ android:key="touch_sounds" android:title="@string/touch_sounds_title" /> + + + + + +