Add finals
Change-Id: Ib81be9a0df34c5e9fc49d2b5d9bf02297ea2b499
This commit is contained in:
parent
6a800b253f
commit
8ff0564f6a
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