am accd2a9f
: Merge "Add finals"
* commit 'accd2a9f61e3289fc66d2b79ef54e2e06c5ff43b': Add finals
This commit is contained in:
commit
f507c1624c
1 changed files with 3 additions and 2 deletions
|
@ -2118,8 +2118,9 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
|
|||
}
|
||||
|
||||
// "ic" must not be null
|
||||
private static boolean sameAsTextBeforeCursor(final InputConnection ic, CharSequence text) {
|
||||
CharSequence beforeText = ic.getTextBeforeCursor(text.length(), 0);
|
||||
private static boolean sameAsTextBeforeCursor(final InputConnection ic,
|
||||
final CharSequence text) {
|
||||
final CharSequence beforeText = ic.getTextBeforeCursor(text.length(), 0);
|
||||
return TextUtils.equals(text, beforeText);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue