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
main
Tadashi G. Takaoka 2010-09-30 10:10:55 -07:00 committed by Android Git Automerger
commit e6e4551067
1 changed files with 3 additions and 0 deletions

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();