Fix a flash in the wrong place
Bug: 7226099 Change-Id: I8f74802b3ae24018fc4176fb2fff2c777ae170b0main
parent
aac53dd7f5
commit
9e9e948a70
|
@ -1723,9 +1723,8 @@ public final class InputLogic {
|
|||
// the segment of text starting at the supplied index and running for the length
|
||||
// of the auto-correction flash. At this moment, the "typedWord" argument is
|
||||
// ignored by TextView.
|
||||
mConnection.commitCorrection(
|
||||
new CorrectionInfo(
|
||||
mConnection.getExpectedSelectionEnd() - typedWord.length(),
|
||||
mConnection.commitCorrection(new CorrectionInfo(
|
||||
mConnection.getExpectedSelectionEnd() - autoCorrection.length(),
|
||||
typedWord, autoCorrection));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue