aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2011-02-04 16:42:46 -0800
committerJean-Michel Trivi <jmtrivi@google.com>2011-02-04 16:42:46 -0800
commit435ea0f5dc5f89681e27399895dac8104c2bc3a0 (patch)
tree8888bb15c37f9ebcecddc57942d4092b3717310d /java
parent620e657662265c487ac8085f73ee9935bc97ed11 (diff)
downloadlatinime-435ea0f5dc5f89681e27399895dac8104c2bc3a0.tar.gz
latinime-435ea0f5dc5f89681e27399895dac8104c2bc3a0.tar.xz
latinime-435ea0f5dc5f89681e27399895dac8104c2bc3a0.zip
Fix bug 3426884 Latin IME Keyboard sounds should be on by default
Change the default value when retrieving the PREF_SOUND_ON property from the Settings from false to true. Change-Id: I871cfaaf1f33b5e0301c84ee9c94f1c429901021
Diffstat (limited to 'java')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index 5ce1b7e95..34732fc0e 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -2121,7 +2121,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
Vibrator vibrator = (Vibrator) getSystemService(Context.VIBRATOR_SERVICE);
mVibrateOn = vibrator != null && vibrator.hasVibrator()
&& prefs.getBoolean(Settings.PREF_VIBRATE_ON, false);
- mSoundOn = prefs.getBoolean(Settings.PREF_SOUND_ON, false);
+ mSoundOn = prefs.getBoolean(Settings.PREF_SOUND_ON, true);
mPopupOn = isPopupEnabled(prefs);
mAutoCap = prefs.getBoolean(Settings.PREF_AUTO_CAP, true);