Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 888a194c authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Fix missing AudioAndHapticFeedbackManager initialization

Bug: 8632344
Change-Id: Ide3cd3acba3987317cff709fa591eadaa71834e8
parent edc49d38
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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);