diff options
author | 2013-05-21 15:32:08 -0700 | |
---|---|---|
committer | 2013-05-22 10:49:53 -0700 | |
commit | 6f9105383a56c9ae15e35d3abf19c33d1efe5636 (patch) | |
tree | 702a3ce1718fb39141763f3fd82170d46ce22485 /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | dc22b7226a61bb7fa5adbecee23999f8cbf902e3 (diff) | |
download | latinime-6f9105383a56c9ae15e35d3abf19c33d1efe5636.tar.gz latinime-6f9105383a56c9ae15e35d3abf19c33d1efe5636.tar.xz latinime-6f9105383a56c9ae15e35d3abf19c33d1efe5636.zip |
Remove unnecessary methods of KeyboardSwitcher
Change-Id: Idd3647bb1a1d40df8bb89eda715d45427a58d0cd
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index f85c16be3..6bf9f3ab5 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -480,6 +480,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen final InputAttributes inputAttributes = new InputAttributes(getCurrentInputEditorInfo(), isFullscreenMode()); mSettings.loadSettings(locale, inputAttributes); + AudioAndHapticFeedbackManager.getInstance().onSettingsChanged(mSettings.getCurrent()); // May need to reset the contacts dictionary depending on the user settings. resetContactsDictionary(null == mSuggest ? null : mSuggest.getContactsDictionary()); } @@ -2701,7 +2702,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen if (action.equals(ConnectivityManager.CONNECTIVITY_ACTION)) { mSubtypeSwitcher.onNetworkStateChanged(intent); } else if (action.equals(AudioManager.RINGER_MODE_CHANGED_ACTION)) { - mKeyboardSwitcher.onRingerModeChanged(); + AudioAndHapticFeedbackManager.getInstance().onRingerModeChanged(); } } }; |