mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Bug 1026788 - Reinsert composition after removing autocomplete text; r=wesj
This commit is contained in:
parent
c41adb0d7c
commit
c409d5e53b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user