Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f507c162 authored by Jean Chalard's avatar Jean Chalard Committed by Android Git Automerger
Browse files

am accd2a9f: Merge "Add finals"

* commit 'accd2a9f':
  Add finals
parents 360a66cf accd2a9f
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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);
    }