Commit f716e965 authored by cketti's avatar cketti

Merge branch 'GH-3257_backport' into 5.6-MAINT

parents 46a51f1f 05e10d6d
......@@ -207,6 +207,20 @@ public class RecipientSelectView extends TokenCompleteTextView<Recipient> implem
}
}
/**
* TokenCompleteTextView removes composing strings, and etc, but leaves internal composition
* predictions partially constructed. Changing either/or the Selection or Candidate start/end
* positions, forces the IMM to reset cleaner.
*/
@Override
protected void replaceText(CharSequence text) {
super.replaceText(text);
InputMethodManager imm = (InputMethodManager) getContext().getSystemService(
Context.INPUT_METHOD_SERVICE);
imm.updateSelection(this, getSelectionStart(), getSelectionEnd(), -1, -1);
}
private void displayKeyboard() {
InputMethodManager imm = (InputMethodManager) getContext().getSystemService(Context.INPUT_METHOD_SERVICE);
if (imm == null) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment