diff options
author | 2011-05-23 17:19:48 +0900 | |
---|---|---|
committer | 2011-05-23 18:05:46 +0900 | |
commit | 3a38fef7a0a8f3b2864a597fee706422be1255ae (patch) | |
tree | 1ae5acedbe2186ede22e6067c83b581c6b928d16 /java/src | |
parent | 20920c01785c32fb96707c42c09b8bf87ae79fa3 (diff) | |
download | latinime-3a38fef7a0a8f3b2864a597fee706422be1255ae.tar.gz latinime-3a38fef7a0a8f3b2864a597fee706422be1255ae.tar.xz latinime-3a38fef7a0a8f3b2864a597fee706422be1255ae.zip |
Remove CandidatesView related method call from voice ime
Change-Id: I33ccf2c141d94437b175222b9e65c0b4e2671a35
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/com/android/inputmethod/deprecated/VoiceProxy.java | 8 | ||||
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/java/src/com/android/inputmethod/deprecated/VoiceProxy.java b/java/src/com/android/inputmethod/deprecated/VoiceProxy.java index 1f2f4fba5..7ea4165ba 100644 --- a/java/src/com/android/inputmethod/deprecated/VoiceProxy.java +++ b/java/src/com/android/inputmethod/deprecated/VoiceProxy.java @@ -137,8 +137,8 @@ public class VoiceProxy implements VoiceInput.UiListener { @Override public void showHint(int viewResource) { View view = LayoutInflater.from(mService).inflate(viewResource, null); - mService.setCandidatesView(view); - mService.setCandidatesViewShown(true); +// mService.setCandidatesView(view); +// mService.setCandidatesViewShown(true); mIsShowingHint = true; } }); @@ -441,7 +441,7 @@ public class VoiceProxy implements VoiceInput.UiListener { } builder.setTypedWordValid(true).setHasMinimalSuggestion(true); mService.setSuggestions(builder.build()); - mService.setCandidatesViewShown(true); +// mService.setCandidatesViewShown(true); return true; } return false; @@ -526,7 +526,7 @@ public class VoiceProxy implements VoiceInput.UiListener { mHandler.post(new Runnable() { @Override public void run() { - mService.setCandidatesViewShown(false); +// mService.setCandidatesViewShown(false); mRecognizing = true; mVoiceInput.newView(); View v = mVoiceInput.getView(); diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 656259541..edf84e435 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -1420,9 +1420,9 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar } public void setSuggestions(SuggestedWords words) { - if (mVoiceProxy.getAndResetIsShowingHint()) { - setCandidatesView(mCandidateViewContainer); - } +// if (mVoiceProxy.getAndResetIsShowingHint()) { +// setCandidatesView(mCandidateViewContainer); +// } if (mCandidateView != null) { mCandidateView.setSuggestions(words); |