am dfaec345: Merge "Always call finishComposingText before recapitalization"
* commit 'dfaec34502e214b4f6a0ce8b91ccfa57f7c8d07f': Always call finishComposingText before recapitalizationmain
commit
a8285a2425
|
@ -2307,6 +2307,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
||||||
mLastSelectionEnd = mRecapitalizeStatus.getNewCursorEnd();
|
mLastSelectionEnd = mRecapitalizeStatus.getNewCursorEnd();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
mConnection.finishComposingText();
|
||||||
mRecapitalizeStatus.rotate();
|
mRecapitalizeStatus.rotate();
|
||||||
final int numCharsDeleted = mLastSelectionEnd - mLastSelectionStart;
|
final int numCharsDeleted = mLastSelectionEnd - mLastSelectionStart;
|
||||||
mConnection.setSelection(mLastSelectionEnd, mLastSelectionEnd);
|
mConnection.setSelection(mLastSelectionEnd, mLastSelectionEnd);
|
||||||
|
|
Loading…
Reference in New Issue