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

Commit 69f672a4 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka Committed by Android (Google) Code Review
Browse files

Merge "Remove unused InputConnection argument"

parents cfec7e72 64eaa67e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1224,7 +1224,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
        return mOptionsDialog != null && mOptionsDialog.isShowing();
    }

    private void insertPunctuationFromSuggestionStrip(final InputConnection ic, final int code) {
    private void insertPunctuationFromSuggestionStrip(final int code) {
        onCodeInput(code, new int[] { code },
                KeyboardActionListener.SUGGESTION_STRIP_COORDINATE,
                KeyboardActionListener.SUGGESTION_STRIP_COORDINATE);
@@ -1909,7 +1909,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
            // for punctuation entered through the suggestion strip, it should be swapped
            // if it was a magic or a weak space. This is meant to help in case the user
            // pressed space on purpose of displaying the suggestion strip punctuation.
            insertPunctuationFromSuggestionStrip(ic, primaryCode);
            insertPunctuationFromSuggestionStrip(primaryCode);
            // TODO: the following endBatchEdit seems useless, check
            if (ic != null) {
                ic.endBatchEdit();