diff --git a/java/res/values/keypress-vibration-durations.xml b/java/res/values/keypress-vibration-durations.xml
index e8d92256b..e2f2b56e5 100644
--- a/java/res/values/keypress-vibration-durations.xml
+++ b/java/res/values/keypress-vibration-durations.xml
@@ -56,7 +56,7 @@
- MODEL=XT907:MANUFACTURER=motorola,30
- MODEL=C6603:MANUFACTURER=Sony,35
-
- - ,20
+
+ - ,-1
diff --git a/java/res/values/strings.xml b/java/res/values/strings.xml
index 85abb08fe..cdc2c3a09 100644
--- a/java/res/values/strings.xml
+++ b/java/res/values/strings.xml
@@ -79,6 +79,8 @@
%sms
+
+ System default
Suggest Contact names
diff --git a/java/src/com/android/inputmethod/latin/SettingsFragment.java b/java/src/com/android/inputmethod/latin/SettingsFragment.java
index 9cc178598..6587b40ab 100644
--- a/java/src/com/android/inputmethod/latin/SettingsFragment.java
+++ b/java/src/com/android/inputmethod/latin/SettingsFragment.java
@@ -367,6 +367,9 @@ public final class SettingsFragment extends InputMethodSettingsFragment
@Override
public String getValueText(final int value) {
+ if (value < 0) {
+ return res.getString(R.string.settings_system_default);
+ }
return res.getString(R.string.abbreviation_unit_milliseconds, value);
}
});