am 888a194c: Fix missing AudioAndHapticFeedbackManager initialization

* commit '888a194cf19a2cd828511b7041fd2667944ea7ad':
  Fix missing AudioAndHapticFeedbackManager initialization
main
Tadashi G. Takaoka 2013-04-16 23:36:47 -07:00 committed by Android Git Automerger
commit 2101ba410c
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} class may not have been initialized. It is safe to call
// {@link SubtypeLocale#init(Context)} multiple times. // {@link SubtypeLocale#init(Context)} multiple times.
SubtypeLocale.init(context); SubtypeLocale.init(context);
// Ditto for {@link AudioAndHapticFeedbackManager} class.
AudioAndHapticFeedbackManager.init(context);
mVoicePreference = (ListPreference) findPreference(Settings.PREF_VOICE_MODE); mVoicePreference = (ListPreference) findPreference(Settings.PREF_VOICE_MODE);
mShowCorrectionSuggestionsPreference = mShowCorrectionSuggestionsPreference =
(ListPreference) findPreference(Settings.PREF_SHOW_SUGGESTIONS_SETTING); (ListPreference) findPreference(Settings.PREF_SHOW_SUGGESTIONS_SETTING);