From 11a578f4f130ebae66fb1bd9953874f421c3c09c Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Thu, 30 Sep 2010 16:01:53 +0900 Subject: [PATCH] Disable suggestion bar before invoke Voice input Bug: 3002817 Change-Id: I099dd63e58d5159a609c1d934dbb6f5aab914305 --- java/src/com/android/inputmethod/latin/LatinIME.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 0bfcc0704..fb9c47db2 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -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();