mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Disable suggestion bar before invoke Voice input
Bug: 3002817 Change-Id: I099dd63e58d5159a609c1d934dbb6f5aab914305
This commit is contained in:
parent
8ff9680522
commit
11a578f4f1
@ -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
|
|||||||
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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user