summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorRoman Birg <romanbirg@gmail.com>2013-01-15 23:52:33 +0100
committerDvTonder <david.vantonder@gmail.com>2013-01-31 21:15:42 -0500
commitc02fc9e13630e9a47719692178ed5a36ebc9a23e (patch)
treefeffe3c4e3e3ade2763421864aef0102289cf132 /res/xml
parent1f1d510ea3dd6a7430e5c45b3301fd3e3082397e (diff)
downloadpackages_apps_settings-c02fc9e13630e9a47719692178ed5a36ebc9a23e.zip
packages_apps_settings-c02fc9e13630e9a47719692178ed5a36ebc9a23e.tar.gz
packages_apps_settings-c02fc9e13630e9a47719692178ed5a36ebc9a23e.tar.bz2
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
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/sound_settings.xml6
1 files changed, 6 insertions, 0 deletions
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" />
+ <CheckBoxPreference
+ android:key="notification_convert_sound_to_vibration"
+ android:title="@string/notification_convert_sound_to_vibration_title"
+ android:summary="@string/notification_convert_sound_to_vibration_summary"
+ android:defaultValue="true" />
+
<!-- Dock -->
<PreferenceCategory
android:key="dock_category"