Bug 1026788 - Reinsert composition after removing autocomplete text; r=wesj

This commit is contained in:
Jim Chen 2014-06-30 13:24:06 -04:00
parent c41adb0d7c
commit c409d5e53b

View File

@ -392,6 +392,9 @@ public class ToolbarEditText extends CustomEditText
// Make the IME aware that we interrupted the setComposingText call,
// by having finishComposingText() send change notifications to the IME.
finishComposingText();
if (Build.VERSION.SDK_INT >= 9) {
setComposingRegion(composingStart, composingEnd);
}
return true;
}
return false;