Disable candidate pane controller just after suggestions are set

Change-Id: I62e24bc39e80e2b51d1a29d093a96a8480254da2
This commit is contained in:
Tadashi G. Takaoka 2011-07-01 21:19:31 +09:00
parent f008ae9ece
commit 4edc7d074b

View file

@ -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;