diff options
author | 2011-07-06 17:57:24 -0700 | |
---|---|---|
committer | 2011-07-06 17:57:24 -0700 | |
commit | 88110d1799146943c627916ffaa94bbc4dd6f2ae (patch) | |
tree | 626812965d9dced97dc8b031a8f12b26e15c0bd7 /java/src/com/android/inputmethod/latin/CandidateView.java | |
parent | 273e5d60f4e9a3de1136d6fff9ef8e057838ec18 (diff) | |
download | latinime-88110d1799146943c627916ffaa94bbc4dd6f2ae.tar.gz latinime-88110d1799146943c627916ffaa94bbc4dd6f2ae.tar.xz latinime-88110d1799146943c627916ffaa94bbc4dd6f2ae.zip |
Clear CandidateView in onStartInputView
Before starting input on new TextView, we must clear the CandidateView
because it may hold the suggestion of previous TextView or even worse
the suggestions pane has been expanded and keyboard has been hidden.
Bug: 4995414
Change-Id: If848320c1a510e7018d36ed8ac61291be2fc6ce5
Diffstat (limited to 'java/src/com/android/inputmethod/latin/CandidateView.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/CandidateView.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/CandidateView.java b/java/src/com/android/inputmethod/latin/CandidateView.java index 7ec18b38a..e859f3acf 100644 --- a/java/src/com/android/inputmethod/latin/CandidateView.java +++ b/java/src/com/android/inputmethod/latin/CandidateView.java @@ -701,9 +701,9 @@ public class CandidateView extends LinearLayout implements OnClickListener, OnLo mShowingAddToDictionary = false; mShowingAutoCorrectionInverted = false; mTouchToSave.setVisibility(GONE); - mCandidatesStrip.setVisibility(VISIBLE); mCandidatesStrip.removeAllViews(); mCandidatesPane.removeAllViews(); + closeCandidatesPane(); } private void hidePreview() { |