mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Merge "Clear CandidateView in onStartInputView"
This commit is contained in:
commit
b9a21448e3
@ -701,9 +701,9 @@ public class CandidateView extends LinearLayout implements OnClickListener, OnLo
|
||||
mShowingAddToDictionary = false;
|
||||
mShowingAutoCorrectionInverted = false;
|
||||
mTouchToSave.setVisibility(GONE);
|
||||
mCandidatesStrip.setVisibility(VISIBLE);
|
||||
mCandidatesStrip.removeAllViews();
|
||||
mCandidatesPane.removeAllViews();
|
||||
closeCandidatesPane();
|
||||
}
|
||||
|
||||
private void hidePreview() {
|
||||
|
@ -580,6 +580,8 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
|
||||
switcher.updateShiftState();
|
||||
}
|
||||
|
||||
if (mCandidateView != null)
|
||||
mCandidateView.clear();
|
||||
setSuggestionStripShownInternal(isCandidateStripVisible(), /* needsInputViewShown */ false);
|
||||
// Delay updating suggestions because keyboard input view may not be shown at this point.
|
||||
mHandler.postUpdateSuggestions();
|
||||
|
Loading…
x
Reference in New Issue
Block a user