Skip to content
Snippets Groups Projects
Commit 11a578f4 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Disable suggestion bar before invoke Voice input

Bug: 3002817
Change-Id: I099dd63e58d5159a609c1d934dbb6f5aab914305
parent 8ff96805
No related branches found
No related tags found
No related merge requests found
...@@ -1567,7 +1567,9 @@ public class LatinIME extends InputMethodService ...@@ -1567,7 +1567,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();
}}); }});
} }
...@@ -1575,6 +1577,7 @@ public class LatinIME extends InputMethodService ...@@ -1575,6 +1577,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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment