am 11a578f4: Disable suggestion bar before invoke Voice input
Merge commit '11a578f4f130ebae66fb1bd9953874f421c3c09c' into gingerbread-plus-aosp
* commit '11a578f4f130ebae66fb1bd9953874f421c3c09c':
Disable suggestion bar before invoke Voice input
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index 0bfcc07..fb9c47d 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -1567,7 +1567,9 @@
if (mKeyboardSwitcher.getInputView() != null) {
setInputView(mKeyboardSwitcher.getInputView());
}
+ setCandidatesViewShown(true);
updateInputViewShown();
+ postUpdateSuggestions();
}});
}
@@ -1575,6 +1577,7 @@
final boolean configChanged = mConfigurationChanging;
mHandler.post(new Runnable() {
public void run() {
+ setCandidatesViewShown(false);
mRecognizing = true;
View v = mVoiceInput.getView();
ViewParent p = v.getParent();