Fix missing AudioAndHapticFeedbackManager initialization

Bug: 8632344
Change-Id: Ide3cd3acba3987317cff709fa591eadaa71834e8
main
Tadashi G. Takaoka 2013-04-17 15:32:01 +09:00
parent edc49d38e6
commit 888a194cf1
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);