aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2013-05-22 16:24:37 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-05-22 16:24:37 -0700
commit4e41750d524cfc19768eca778aa72d8f563f385c (patch)
tree702a3ce1718fb39141763f3fd82170d46ce22485 /java/src/com/android/inputmethod/latin/LatinIME.java
parent5075d07da00ac7e974e74d43c02c84f7f254e97b (diff)
parent4187499cb0cdd6b2a16d6d90743e411f7b9afc96 (diff)
downloadlatinime-4e41750d524cfc19768eca778aa72d8f563f385c.tar.gz
latinime-4e41750d524cfc19768eca778aa72d8f563f385c.tar.xz
latinime-4e41750d524cfc19768eca778aa72d8f563f385c.zip
am 4187499c: Merge "Remove unnecessary methods of KeyboardSwitcher"
* commit '4187499cb0cdd6b2a16d6d90743e411f7b9afc96': Remove unnecessary methods of KeyboardSwitcher
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java3
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();
}
}
};