diff --git a/java/src/com/android/inputmethod/latin/suggestions/SuggestionsView.java b/java/src/com/android/inputmethod/latin/suggestions/SuggestionsView.java index a4f0cf5df6809a981f68cef8ac8de9e2fe9a6f18..b632f093f3079714d24da0de44c0b82a75bc6289 100644 --- a/java/src/com/android/inputmethod/latin/suggestions/SuggestionsView.java +++ b/java/src/com/android/inputmethod/latin/suggestions/SuggestionsView.java @@ -339,8 +339,6 @@ public class SuggestionsView extends RelativeLayout implements OnClickListener, } } - final SuggestedWordInfo info = (pos < suggestedWords.size()) - ? suggestedWords.getInfo(pos) : null; if (suggestedWords.mIsObsoleteSuggestions && isSuggested) { return applyAlpha(color, mAlphaObsoleted); } else {