am accd2a9f: Merge "Add finals"
* commit 'accd2a9f61e3289fc66d2b79ef54e2e06c5ff43b': Add finalsmain
commit
f507c1624c
|
@ -2118,8 +2118,9 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
|
||||||
}
|
}
|
||||||
|
|
||||||
// "ic" must not be null
|
// "ic" must not be null
|
||||||
private static boolean sameAsTextBeforeCursor(final InputConnection ic, CharSequence text) {
|
private static boolean sameAsTextBeforeCursor(final InputConnection ic,
|
||||||
CharSequence beforeText = ic.getTextBeforeCursor(text.length(), 0);
|
final CharSequence text) {
|
||||||
|
final CharSequence beforeText = ic.getTextBeforeCursor(text.length(), 0);
|
||||||
return TextUtils.equals(text, beforeText);
|
return TextUtils.equals(text, beforeText);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue