Always call finishComposingText before recapitalization
Workaround for framework bug: Bug: 10792236 Change-Id: I3706b9eed5223889791840e30660f8d17625cb70
This commit is contained in:
parent
27d78643e8
commit
f178685c11
1 changed files with 1 additions and 0 deletions
|
@ -2307,6 +2307,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
|||
mLastSelectionEnd = mRecapitalizeStatus.getNewCursorEnd();
|
||||
}
|
||||
}
|
||||
mConnection.finishComposingText();
|
||||
mRecapitalizeStatus.rotate();
|
||||
final int numCharsDeleted = mLastSelectionEnd - mLastSelectionStart;
|
||||
mConnection.setSelection(mLastSelectionEnd, mLastSelectionEnd);
|
||||
|
|
Loading…
Reference in a new issue