From 4871b2cf6ad99bdd05ef687d01a5fdaae39991be 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 --- 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 9d868cbe4ea..815fff240e7 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -8470,6 +8470,9 @@ Touch sounds + + Always show icon when in vibrate mode + Dock speaker plays diff --git a/res/xml/other_sound_settings.xml b/res/xml/other_sound_settings.xml index d8396a4b644..056551f4e29 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" /> + + + + + +