Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f178685c authored by Jean Chalard's avatar Jean Chalard
Browse files

Always call finishComposingText before recapitalization

Workaround for framework bug:
Bug: 10792236

Change-Id: I3706b9eed5223889791840e30660f8d17625cb70
parent 27d78643
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);