Fix build breakage
Change-Id: Id2c2d152f54d00842ef9e200ccdce1e13cc128cb
This commit is contained in:
parent
84cb23a789
commit
4f365403c5
1 changed files with 1 additions and 1 deletions
|
@ -1805,7 +1805,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
|
||||||
if (deleteChar) ic.deleteSurroundingText(1, 0);
|
if (deleteChar) ic.deleteSurroundingText(1, 0);
|
||||||
final CharSequence textToTheLeft = ic.getTextBeforeCursor(mCommittedLength, 0);
|
final CharSequence textToTheLeft = ic.getTextBeforeCursor(mCommittedLength, 0);
|
||||||
final int toDeleteLength = (!TextUtils.isEmpty(textToTheLeft)
|
final int toDeleteLength = (!TextUtils.isEmpty(textToTheLeft)
|
||||||
&& mSettingsValues.isWordSeparator(toTheLeft.charAt(0)))
|
&& mSettingsValues.isWordSeparator(textToTheLeft.charAt(0)))
|
||||||
? mCommittedLength - 1 : mCommittedLength;
|
? mCommittedLength - 1 : mCommittedLength;
|
||||||
ic.deleteSurroundingText(toDeleteLength, 0);
|
ic.deleteSurroundingText(toDeleteLength, 0);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue