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
main
Jean-Michel Trivi 2011-02-04 16:42:46 -08:00
parent 620e657662
commit 435ea0f5dc
1 changed files with 1 additions and 1 deletions

View File

@ -2121,7 +2121,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
Vibrator vibrator = (Vibrator) getSystemService(Context.VIBRATOR_SERVICE); Vibrator vibrator = (Vibrator) getSystemService(Context.VIBRATOR_SERVICE);
mVibrateOn = vibrator != null && vibrator.hasVibrator() mVibrateOn = vibrator != null && vibrator.hasVibrator()
&& prefs.getBoolean(Settings.PREF_VIBRATE_ON, false); && 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); mPopupOn = isPopupEnabled(prefs);
mAutoCap = prefs.getBoolean(Settings.PREF_AUTO_CAP, true); mAutoCap = prefs.getBoolean(Settings.PREF_AUTO_CAP, true);