Merge remote-tracking branch 'goog/master' into mergescriptpackage
commit
4605ca8fdc
|
@ -144,7 +144,8 @@ public final class RichInputConnection {
|
||||||
mCurrentCursorPosition = newCursorPosition;
|
mCurrentCursorPosition = newCursorPosition;
|
||||||
mComposingText.setLength(0);
|
mComposingText.setLength(0);
|
||||||
mCommittedTextBeforeComposingText.setLength(0);
|
mCommittedTextBeforeComposingText.setLength(0);
|
||||||
mCommittedTextBeforeComposingText.append(getTextBeforeCursor(DEFAULT_TEXT_CACHE_SIZE, 0));
|
final CharSequence textBeforeCursor = getTextBeforeCursor(DEFAULT_TEXT_CACHE_SIZE, 0);
|
||||||
|
if (null != textBeforeCursor) mCommittedTextBeforeComposingText.append(textBeforeCursor);
|
||||||
mCharAfterTheCursor = getTextAfterCursor(1, 0);
|
mCharAfterTheCursor = getTextAfterCursor(1, 0);
|
||||||
if (null != mIC) {
|
if (null != mIC) {
|
||||||
mIC.finishComposingText();
|
mIC.finishComposingText();
|
||||||
|
|
Loading…
Reference in New Issue