am 2101ba41: am 888a194c: Fix missing AudioAndHapticFeedbackManager initialization

* commit '2101ba410c4fd12919b3b84e4e6bcc61b1897e70':
  Fix missing AudioAndHapticFeedbackManager initialization
main
Tadashi G. Takaoka 2013-05-15 10:36:12 -07:00 committed by Android Git Automerger
commit 6dd2130d84
1 changed files with 2 additions and 0 deletions

View File

@ -81,6 +81,8 @@ public final class SettingsFragment extends InputMethodSettingsFragment
// {@link SubtypeLocale} class may not have been initialized. It is safe to call
// {@link SubtypeLocale#init(Context)} multiple times.
SubtypeLocale.init(context);
// Ditto for {@link AudioAndHapticFeedbackManager} class.
AudioAndHapticFeedbackManager.init(context);
mVoicePreference = (ListPreference) findPreference(Settings.PREF_VOICE_MODE);
mShowCorrectionSuggestionsPreference =
(ListPreference) findPreference(Settings.PREF_SHOW_SUGGESTIONS_SETTING);