Disable suggestion bar before invoke Voice input
Bug: 3002817 Change-Id: I099dd63e58d5159a609c1d934dbb6f5aab914305
This commit is contained in:
parent
8ff9680522
commit
11a578f4f1
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue