Fix missing AudioAndHapticFeedbackManager initialization
Bug: 8632344 Change-Id: Ide3cd3acba3987317cff709fa591eadaa71834e8main
parent
edc49d38e6
commit
888a194cf1
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue