Merge "Add finals"
This commit is contained in:
commit
accd2a9f61
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