am e6e45510: am 11a578f4: Disable suggestion bar before invoke Voice input

Merge commit 'e6e45510674b31d0c82fa5f8a7943668d7e8503a'

* commit 'e6e45510674b31d0c82fa5f8a7943668d7e8503a':
  Disable suggestion bar before invoke Voice input
main
Tadashi G. Takaoka 2010-09-30 13:37:30 -07:00 committed by Android Git Automerger
commit b050829609
1 changed files with 3 additions and 0 deletions

View File

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