Skip to content

Commit a99dbde

Browse files
author
George Mount
committed
Don't restart input in the middle of a batch.
Bug 6854156 setComposingText is in the middle of a batch and it was resetting the InputConnection. When the batch ended, it was closing a batch that wasn't open on the new InputConnection. The reset turns out not to be necessary anymore -- the LatinIME respects the content when setComposingText fails to change anything. Change-Id: If3352b32ed7b3c90c8dcb3d5ff8d308e82849d85
1 parent 437a0fb commit a99dbde

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

core/java/android/webkit/WebViewClassic.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,6 @@ public boolean setComposingText(CharSequence text, int newCursorPosition) {
278278
super.setComposingText(limitedText, newCursorPosition);
279279
updateSelection();
280280
if (limitedText != text) {
281-
restartInput();
282281
int lastCaret = start + limitedText.length();
283282
finishComposingText();
284283
setSelection(lastCaret, lastCaret);

0 commit comments

Comments
 (0)