aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2011-07-21 14:57:28 +0900
committerTadashi G. Takaoka <takaoka@google.com>2011-07-22 02:37:56 -0700
commit255486a5d067469e074f3649b3d2747e7a08aaa2 (patch)
tree190994cc73422d205a9dd3b570caea8eeeb5f4a8 /java/src/com/android/inputmethod/latin/LatinIME.java
parent6988d09ac2ff2908cb781595b1e598474ab98082 (diff)
downloadlatinime-255486a5d067469e074f3649b3d2747e7a08aaa2.tar.gz
latinime-255486a5d067469e074f3649b3d2747e7a08aaa2.tar.xz
latinime-255486a5d067469e074f3649b3d2747e7a08aaa2.zip
Disable VoiceInputLogger inside LatinIME
Bug: 4985273 Change-Id: I6c70e50a58be0973f78c6a1abc1fb4eac5449c0b
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java8
1 files changed, 2 insertions, 6 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index 64f7e6011..1b9983a6e 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -573,9 +573,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
LanguageSwitcherProxy.loadSettings();
if (mSubtypeSwitcher.isKeyboardMode()) {
- switcher.loadKeyboard(attribute,
- mSubtypeSwitcher.isShortcutImeEnabled() && voiceIme.isVoiceButtonEnabled(),
- voiceIme.isVoiceButtonOnPrimary());
+ switcher.loadKeyboard(attribute, mSettingsValues);
switcher.updateShiftState();
}
@@ -1894,9 +1892,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
setInputView(mKeyboardSwitcher.onCreateInputView());
}
// Reload keyboard because the current language has been changed.
- mKeyboardSwitcher.loadKeyboard(getCurrentInputEditorInfo(),
- mSubtypeSwitcher.isShortcutImeEnabled() && mVoiceProxy.isVoiceButtonEnabled(),
- mVoiceProxy.isVoiceButtonOnPrimary());
+ mKeyboardSwitcher.loadKeyboard(getCurrentInputEditorInfo(), mSettingsValues);
initSuggest();
loadSettings();
mKeyboardSwitcher.updateShiftState();