aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2014-03-03 21:02:35 +0900
committerTadashi G. Takaoka <takaoka@google.com>2014-03-04 16:05:15 +0900
commit1f215a58c99f0eb2f536e9cccd51371f2883e201 (patch)
tree00eaced6999715e6a256ddab516db036c71b119b /java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
parentc451b4dee844a5918dd6616782de6ab98704a4ec (diff)
downloadlatinime-1f215a58c99f0eb2f536e9cccd51371f2883e201.tar.gz
latinime-1f215a58c99f0eb2f536e9cccd51371f2883e201.tar.xz
latinime-1f215a58c99f0eb2f536e9cccd51371f2883e201.zip
Remove unused MoreKeysPanel argument from Controller interface
Bug: 13204690 Change-Id: Ife438e78d9bbbf796df20f95c2da7a4d50e5a035
Diffstat (limited to 'java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java')
-rw-r--r--java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java b/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
index 5c9973d6e..43cb11b14 100644
--- a/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
+++ b/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
@@ -280,8 +280,8 @@ public final class SuggestionStripView extends RelativeLayout implements OnClick
private final MoreKeysPanel.Controller mMoreSuggestionsController =
new MoreKeysPanel.Controller() {
@Override
- public void onDismissMoreKeysPanel(final MoreKeysPanel panel) {
- mMainKeyboardView.onDismissMoreKeysPanel(panel);
+ public void onDismissMoreKeysPanel() {
+ mMainKeyboardView.onDismissMoreKeysPanel();
}
@Override
@@ -290,7 +290,7 @@ public final class SuggestionStripView extends RelativeLayout implements OnClick
}
@Override
- public void onCancelMoreKeysPanel(final MoreKeysPanel panel) {
+ public void onCancelMoreKeysPanel() {
dismissMoreSuggestionsPanel();
}
};
@@ -321,8 +321,7 @@ public final class SuggestionStripView extends RelativeLayout implements OnClick
}
// Dismiss another {@link MoreKeysPanel} that may be being showed, for example
// {@link MoreKeysKeyboardView}.
- // TODO: Remove unused null argument.
- mMainKeyboardView.onDismissMoreKeysPanel(null /* unused */);
+ mMainKeyboardView.onDismissMoreKeysPanel();
// Dismiss all key previews and sliding key input preview that may be being showed.
mMainKeyboardView.dismissAllKeyPreviews();
mMainKeyboardView.dismissSlidingKeyInputPreview();