Disable candidate pane controller just after suggestions are set
Change-Id: I62e24bc39e80e2b51d1a29d093a96a8480254da2
This commit is contained in:
parent
f008ae9ece
commit
4edc7d074b
1 changed files with 2 additions and 0 deletions
|
@ -371,6 +371,7 @@ public class CandidateView extends LinearLayout implements OnClickListener, OnLo
|
||||||
if (suggestions == null)
|
if (suggestions == null)
|
||||||
return;
|
return;
|
||||||
mSuggestions = suggestions;
|
mSuggestions = suggestions;
|
||||||
|
mExpandCandidatesPane.setEnabled(false);
|
||||||
if (mShowingAutoCorrectionInverted) {
|
if (mShowingAutoCorrectionInverted) {
|
||||||
mHandler.postUpdateSuggestions();
|
mHandler.postUpdateSuggestions();
|
||||||
} else {
|
} else {
|
||||||
|
@ -428,6 +429,7 @@ public class CandidateView extends LinearLayout implements OnClickListener, OnLo
|
||||||
} else {
|
} else {
|
||||||
mCandidatesPaneControl.setVisibility(VISIBLE);
|
mCandidatesPaneControl.setVisibility(VISIBLE);
|
||||||
mExpandCandidatesPane.setVisibility(VISIBLE);
|
mExpandCandidatesPane.setVisibility(VISIBLE);
|
||||||
|
mExpandCandidatesPane.setEnabled(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
final int countInStrip = params.mCountInStrip;
|
final int countInStrip = params.mCountInStrip;
|
||||||
|
|
Loading…
Reference in a new issue