Disable candidate pane controller just after suggestions are set
Change-Id: I62e24bc39e80e2b51d1a29d093a96a8480254da2main
parent
f008ae9ece
commit
4edc7d074b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue