am a09e43ef: Merge "Fix cursor state bug"

* commit 'a09e43ef6e5541162f6e1f789e86f7289a678b45':
  Fix cursor state bug
main
Kurt Partridge 2013-08-21 18:25:57 -07:00 committed by Android Git Automerger
commit 1c5a7c4760
1 changed files with 0 additions and 1 deletions

View File

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