Merge "Fix cursor state bug"

This commit is contained in:
Kurt Partridge 2013-08-22 01:24:15 +00:00 committed by Android (Google) Code Review
commit a09e43ef6e

View file

@ -169,7 +169,6 @@ public final class RichInputConnection {
if (DEBUG_BATCH_NESTING) checkBatchEdit();
if (DEBUG_PREVIOUS_TEXT) checkConsistencyForDebug();
mCommittedTextBeforeComposingText.append(mComposingText);
mExpectedCursorPosition += mComposingText.length();
mComposingText.setLength(0);
if (null != mIC) {
mIC.finishComposingText();