Fix build breakage

Change-Id: Id2c2d152f54d00842ef9e200ccdce1e13cc128cb
main
Ken Wakasa 2011-07-13 13:49:13 +09:00
parent 84cb23a789
commit 4f365403c5
1 changed files with 1 additions and 1 deletions

View File

@ -1805,7 +1805,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
if (deleteChar) ic.deleteSurroundingText(1, 0);
final CharSequence textToTheLeft = ic.getTextBeforeCursor(mCommittedLength, 0);
final int toDeleteLength = (!TextUtils.isEmpty(textToTheLeft)
&& mSettingsValues.isWordSeparator(toTheLeft.charAt(0)))
&& mSettingsValues.isWordSeparator(textToTheLeft.charAt(0)))
? mCommittedLength - 1 : mCommittedLength;
ic.deleteSurroundingText(toDeleteLength, 0);