From 888a194cf19a2cd828511b7041fd2667944ea7ad Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Wed, 17 Apr 2013 15:32:01 +0900 Subject: [PATCH] Fix missing AudioAndHapticFeedbackManager initialization Bug: 8632344 Change-Id: Ide3cd3acba3987317cff709fa591eadaa71834e8 --- java/src/com/android/inputmethod/latin/SettingsFragment.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/java/src/com/android/inputmethod/latin/SettingsFragment.java b/java/src/com/android/inputmethod/latin/SettingsFragment.java index a96c997c8..0400fcc80 100644 --- a/java/src/com/android/inputmethod/latin/SettingsFragment.java +++ b/java/src/com/android/inputmethod/latin/SettingsFragment.java @@ -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);