From c02fc9e13630e9a47719692178ed5a36ebc9a23e Mon Sep 17 00:00:00 2001 From: Roman Birg Date: Tue, 15 Jan 2013 23:52:33 +0100 Subject: Notification sound-to-vibration conversion toggle Allows to change the new feature of AOSP 4.2, where all notification are changed to vibrations on vibrate mode. Instead, allow the old behaviour to silence sound notifications and to only play vibrations if desired. Alle credits go to romanbb from AOKP, I just ported it, changed the position in the menu and the label. Original AOKP-Commit: https://github.com/AOKP/packages_apps_Settings/commit/e92446576c2dfbe51089287c43c3f799b5cc0057 Patch set 1-6 : Initial commits Patch set 7 : Better wording of the summary string Patch set 8 : Lower case app Change-Id: I267fc4b62ff045f305cf29c1b4f365e91f7cf1db --- res/values/strings.xml | 4 ++++ res/xml/sound_settings.xml | 6 ++++++ src/com/android/settings/SoundSettings.java | 12 ++++++++++++ 3 files changed, 22 insertions(+) diff --git a/res/values/strings.xml b/res/values/strings.xml index 56c2bc0..38ada94 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -4472,6 +4472,10 @@ Start End + + Vibrate on notification + In vibrate mode, all notifications will vibrate regardless of individual app settings + Device hostname diff --git a/res/xml/sound_settings.xml b/res/xml/sound_settings.xml index 4ab2f71..687a843 100644 --- a/res/xml/sound_settings.xml +++ b/res/xml/sound_settings.xml @@ -116,6 +116,12 @@ android:entries="@array/emergency_tone_entries" android:entryValues="@array/emergency_tone_values" /> + +