From 4edc7d074b174da447bbf28e62cfb914b236540e Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Fri, 1 Jul 2011 21:19:31 +0900 Subject: [PATCH] Disable candidate pane controller just after suggestions are set Change-Id: I62e24bc39e80e2b51d1a29d093a96a8480254da2 --- java/src/com/android/inputmethod/latin/CandidateView.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/java/src/com/android/inputmethod/latin/CandidateView.java b/java/src/com/android/inputmethod/latin/CandidateView.java index 01b1dd6e3..e9bc0e8e7 100644 --- a/java/src/com/android/inputmethod/latin/CandidateView.java +++ b/java/src/com/android/inputmethod/latin/CandidateView.java @@ -371,6 +371,7 @@ public class CandidateView extends LinearLayout implements OnClickListener, OnLo if (suggestions == null) return; mSuggestions = suggestions; + mExpandCandidatesPane.setEnabled(false); if (mShowingAutoCorrectionInverted) { mHandler.postUpdateSuggestions(); } else { @@ -428,6 +429,7 @@ public class CandidateView extends LinearLayout implements OnClickListener, OnLo } else { mCandidatesPaneControl.setVisibility(VISIBLE); mExpandCandidatesPane.setVisibility(VISIBLE); + mExpandCandidatesPane.setEnabled(true); } final int countInStrip = params.mCountInStrip;