diff options
author | 2011-01-17 23:47:52 +0900 | |
---|---|---|
committer | 2011-01-18 11:41:12 +0900 | |
commit | d5a6b910e83de6dea3c5813cbf5e219abaccdf8a (patch) | |
tree | 43b156a3933bcef9164580ac63eb3271fee68cf4 /java/src/com/android/inputmethod/voice/VoiceIMEConnector.java | |
parent | 98353076909cad1c4bbdd70b9f2b3db5d48cea6d (diff) | |
download | latinime-d5a6b910e83de6dea3c5813cbf5e219abaccdf8a.tar.gz latinime-d5a6b910e83de6dea3c5813cbf5e219abaccdf8a.tar.xz latinime-d5a6b910e83de6dea3c5813cbf5e219abaccdf8a.zip |
Purge keyboard only when voice input will be invoked
This change also draws the language name in light gray on spacebar
without fading out even when the keyboard locale has not been changed.
Bug: 3362369
Bug: 3361915
Change-Id: I66538b03ce2e48c3441091319d0377176f8118ec
Diffstat (limited to 'java/src/com/android/inputmethod/voice/VoiceIMEConnector.java')
-rw-r--r-- | java/src/com/android/inputmethod/voice/VoiceIMEConnector.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/voice/VoiceIMEConnector.java b/java/src/com/android/inputmethod/voice/VoiceIMEConnector.java index 715486147..9a6c3a83a 100644 --- a/java/src/com/android/inputmethod/voice/VoiceIMEConnector.java +++ b/java/src/com/android/inputmethod/voice/VoiceIMEConnector.java @@ -631,7 +631,7 @@ public class VoiceIMEConnector implements VoiceInput.UiListener { if (mSubtypeSwitcher.isVoiceMode() && token != null) { // Close keyboard view if it is been shown. if (KeyboardSwitcher.getInstance().isInputViewShown()) - KeyboardSwitcher.getInstance().getInputView().closing(); + KeyboardSwitcher.getInstance().getInputView().purgeKeyboardAndClosing(); startListening(false, token, false); } // If we have no token, onAttachedToWindow will take care of showing dialog and start |