diff options
author | 2012-10-03 14:06:44 +0900 | |
---|---|---|
committer | 2012-10-03 15:09:10 +0900 | |
commit | c6ff7c42d9aeafe2b2d21a34be10f1e9a450153a (patch) | |
tree | a7c6edc52be40be97037d07d5cf4a84e740f093e /java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java | |
parent | 3e5a3c18bebbfb56012383411b24ee81ffde09cb (diff) | |
download | latinime-c6ff7c42d9aeafe2b2d21a34be10f1e9a450153a.tar.gz latinime-c6ff7c42d9aeafe2b2d21a34be10f1e9a450153a.tar.xz latinime-c6ff7c42d9aeafe2b2d21a34be10f1e9a450153a.zip |
Add SuggestedWords.isEmpty() method
Change-Id: I0fcb104a6a81aee4b99f5ee848eba7495630dc7d
Diffstat (limited to 'java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java b/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java index d978c371a..6056af95c 100644 --- a/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java +++ b/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java @@ -672,9 +672,6 @@ public final class SuggestionStripView extends RelativeLayout implements OnClick } public void setSuggestions(final SuggestedWords suggestedWords) { - if (suggestedWords == null) - return; - clear(); mSuggestedWords = suggestedWords; mParams.layout(mSuggestedWords, mSuggestionsStrip, this, getWidth()); |