Skip to content
Snippets Groups Projects
Commit 4edc7d07 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Disable candidate pane controller just after suggestions are set

Change-Id: I62e24bc39e80e2b51d1a29d093a96a8480254da2
parent f008ae9e
No related branches found
No related tags found
No related merge requests found
...@@ -371,6 +371,7 @@ public class CandidateView extends LinearLayout implements OnClickListener, OnLo ...@@ -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 ...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment