summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2013-06-08 11:58:16 +0200
committerDanny Baumann <dannybaumann@web.de>2013-06-08 12:12:02 +0200
commit465b79e9e36b50b4d61778f405f6850bcc42fac6 (patch)
treefddfc668430ae932c0bbc100d0d2e9b402d306a7
parent1eac51f1f05a5e0e9313e26f07e26814a4ee1951 (diff)
downloadpackages_apps_Mms-465b79e9e36b50b4d61778f405f6850bcc42fac6.zip
packages_apps_Mms-465b79e9e36b50b4d61778f405f6850bcc42fac6.tar.gz
packages_apps_Mms-465b79e9e36b50b4d61778f405f6850bcc42fac6.tar.bz2
Fix 'vibrate on call' option.
JIRA:CYAN-1325 Change-Id: Ia01945aa281a1ebef38c80c5896e5be79c290435
-rw-r--r--res/xml/preferences.xml2
-rwxr-xr-xsrc/com/android/mms/ui/MessagingPreferenceActivity.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml
index 6e14fa8..8aee920 100644
--- a/res/xml/preferences.xml
+++ b/res/xml/preferences.xml
@@ -146,7 +146,7 @@
<CheckBoxPreference
android:key="pref_key_mms_notification_vibrate_call"
android:layout="?android:attr/preferenceLayoutChild"
- android:dependency="pref_key_enable_notifications"
+ android:dependency="pref_key_vibrate"
android:defaultValue="true"
android:title="@string/pref_title_mms_notification_vibrate_call"
android:summary="@string/pref_summary_mms_notification_vibrate_call" />
diff --git a/src/com/android/mms/ui/MessagingPreferenceActivity.java b/src/com/android/mms/ui/MessagingPreferenceActivity.java
index 0359fbb..01b4e51 100755
--- a/src/com/android/mms/ui/MessagingPreferenceActivity.java
+++ b/src/com/android/mms/ui/MessagingPreferenceActivity.java
@@ -102,7 +102,7 @@ public class MessagingPreferenceActivity extends PreferenceActivity
// Vibrate pattern
public static final String NOTIFICATION_VIBRATE_PATTERN = "pref_key_mms_notification_vibrate_pattern";
public static final String NOTIFICATION_VIBRATE_PATTERN_CUSTOM = "pref_key_mms_notification_vibrate_pattern_custom";
- public static final String NOTIFICATION_VIBRATE_CALL ="pre_key_mms_notification_vibrate_call";
+ public static final String NOTIFICATION_VIBRATE_CALL ="pref_key_mms_notification_vibrate_call";
// Privacy mode
public static final String PRIVACY_MODE_ENABLED = "pref_key_enable_privacy_mode";