mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Fix build breakage
Change-Id: Id2c2d152f54d00842ef9e200ccdce1e13cc128cb
This commit is contained in:
parent
84cb23a789
commit
4f365403c5
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user