Merge "Always call finishComposingText before recapitalization"
This commit is contained in:
commit
dfaec34502
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue