Remove unused InputConnection argument

Change-Id: Ic45c8c6e7730775654317fb6e2d1cb64f9031f46
main
Tadashi G. Takaoka 2012-02-07 19:38:06 +09:00
parent 4a3c0918dc
commit 64eaa67eb5
1 changed files with 2 additions and 2 deletions

View File

@ -1224,7 +1224,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
return mOptionsDialog != null && mOptionsDialog.isShowing(); 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 }, onCodeInput(code, new int[] { code },
KeyboardActionListener.SUGGESTION_STRIP_COORDINATE, KeyboardActionListener.SUGGESTION_STRIP_COORDINATE,
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 // 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 // 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. // pressed space on purpose of displaying the suggestion strip punctuation.
insertPunctuationFromSuggestionStrip(ic, primaryCode); insertPunctuationFromSuggestionStrip(primaryCode);
// TODO: the following endBatchEdit seems useless, check // TODO: the following endBatchEdit seems useless, check
if (ic != null) { if (ic != null) {
ic.endBatchEdit(); ic.endBatchEdit();