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-04 10:53:22 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-03-04 10:53:23 +0000
commit8204078a841f9fe127935a8fab1274fbaade03bc (patch)
treeb9550a6dc30e0d6a65274d6aacdd0c683d9c7d36 /java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
parent11eb0f9c144fc7f67a33bc483bc18e234c07f865 (diff)
parent1f215a58c99f0eb2f536e9cccd51371f2883e201 (diff)
downloadlatinime-8204078a841f9fe127935a8fab1274fbaade03bc.tar.gz
latinime-8204078a841f9fe127935a8fab1274fbaade03bc.tar.xz
latinime-8204078a841f9fe127935a8fab1274fbaade03bc.zip
Merge "Remove unused MoreKeysPanel argument from Controller interface"
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();