diff options
author | 2014-06-26 18:43:14 +0900 | |
---|---|---|
committer | 2014-06-27 21:18:42 +0900 | |
commit | 35c37dbef8a65cc1e199a60090d1b4e60da69fe6 (patch) | |
tree | 13f755ccebdc65e025c3192bd66b2b9d5a212146 /java/src/com/android/inputmethod/latin/suggestions/MoreSuggestionsView.java | |
parent | aca2ef85e1af82ccadbd0cbdd691a680a03a824d (diff) | |
download | latinime-35c37dbef8a65cc1e199a60090d1b4e60da69fe6.tar.gz latinime-35c37dbef8a65cc1e199a60090d1b4e60da69fe6.tar.xz latinime-35c37dbef8a65cc1e199a60090d1b4e60da69fe6.zip |
[SD3] Forward the script ID to where it will be used
Bug: 15840116
Change-Id: If2073e76fed74ae6e1cdd7670013e0e985b0e630
Diffstat (limited to 'java/src/com/android/inputmethod/latin/suggestions/MoreSuggestionsView.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/suggestions/MoreSuggestionsView.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/java/src/com/android/inputmethod/latin/suggestions/MoreSuggestionsView.java b/java/src/com/android/inputmethod/latin/suggestions/MoreSuggestionsView.java index 47921ca0a..f7b6f919d 100644 --- a/java/src/com/android/inputmethod/latin/suggestions/MoreSuggestionsView.java +++ b/java/src/com/android/inputmethod/latin/suggestions/MoreSuggestionsView.java @@ -37,7 +37,7 @@ public final class MoreSuggestionsView extends MoreKeysKeyboardView { private static final String TAG = MoreSuggestionsView.class.getSimpleName(); public static abstract class MoreSuggestionsListener extends KeyboardActionListener.Adapter { - public abstract void onSuggestionSelected(final int index, final SuggestedWordInfo info); + public abstract void onSuggestionSelected(final SuggestedWordInfo info); } public MoreSuggestionsView(final Context context, final AttributeSet attrs) { @@ -104,7 +104,6 @@ public final class MoreSuggestionsView extends MoreKeysKeyboardView { + mListener.getClass().getName()); return; } - ((MoreSuggestionsListener)mListener).onSuggestionSelected( - index, suggestedWords.getInfo(index)); + ((MoreSuggestionsListener)mListener).onSuggestionSelected(suggestedWords.getInfo(index)); } } |