aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2012-02-07 04:15:07 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-02-07 04:15:07 -0800
commit69f672a4b3283b5760e60e7341c20120080c2e56 (patch)
tree42f610273e55a7f576fd535d546a7fcbe717910a /java/src
parentcfec7e72fd650067c1589c0d26f3f089a45c3067 (diff)
parent64eaa67eb5ad058c8fe1ef2f4ec1a52c3dd05fbd (diff)
downloadlatinime-69f672a4b3283b5760e60e7341c20120080c2e56.tar.gz
latinime-69f672a4b3283b5760e60e7341c20120080c2e56.tar.xz
latinime-69f672a4b3283b5760e60e7341c20120080c2e56.zip
Merge "Remove unused InputConnection argument"
Diffstat (limited to 'java/src')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java4
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 20ec090d2..9a66e00f2 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();