Disable suggestion bar before invoke Voice input

Bug: 3002817
Change-Id: I099dd63e58d5159a609c1d934dbb6f5aab914305
This commit is contained in:
Tadashi G. Takaoka 2010-09-30 16:01:53 +09:00
parent 8ff9680522
commit 11a578f4f1

View file

@ -1567,7 +1567,9 @@ public class LatinIME extends InputMethodService
if (mKeyboardSwitcher.getInputView() != null) {
setInputView(mKeyboardSwitcher.getInputView());
}
setCandidatesViewShown(true);
updateInputViewShown();
postUpdateSuggestions();
}});
}
@ -1575,6 +1577,7 @@ public class LatinIME extends InputMethodService
final boolean configChanged = mConfigurationChanging;
mHandler.post(new Runnable() {
public void run() {
setCandidatesViewShown(false);
mRecognizing = true;
View v = mVoiceInput.getView();
ViewParent p = v.getParent();