am a09e43ef: Merge "Fix cursor state bug"

* commit 'a09e43ef6e5541162f6e1f789e86f7289a678b45':
  Fix cursor state bug
This commit is contained in:
Kurt Partridge 2013-08-21 18:25:57 -07:00 committed by Android Git Automerger
commit 1c5a7c4760

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();