diff options
author | 2012-02-07 19:38:06 +0900 | |
---|---|---|
committer | 2012-02-07 19:38:06 +0900 | |
commit | 64eaa67eb5ad058c8fe1ef2f4ec1a52c3dd05fbd (patch) | |
tree | a68415c5f5dda3ebecfb001306dcc0a44fd9c049 /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | 4a3c0918dc3049e3e680a899f9c10b95e579368c (diff) | |
download | latinime-64eaa67eb5ad058c8fe1ef2f4ec1a52c3dd05fbd.tar.gz latinime-64eaa67eb5ad058c8fe1ef2f4ec1a52c3dd05fbd.tar.xz latinime-64eaa67eb5ad058c8fe1ef2f4ec1a52c3dd05fbd.zip |
Remove unused InputConnection argument
Change-Id: Ic45c8c6e7730775654317fb6e2d1cb64f9031f46
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 34080750c..619aafa0a 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -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(); |