aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
diff options
context:
space:
mode:
authorAdrian Velicu <adrianv@google.com>2014-09-22 06:20:24 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-09-22 06:20:25 +0000
commitb12c174c2f04461e5c5e0d2e148742ef0bfc5594 (patch)
treec68901979a6d86d5e8a81623120b57ffe014c75a /java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
parentb51412a05c28fa51828e07224b7fe49a424d8fc5 (diff)
parent30f4a2a4d750dc8c3132d706d9148daf71fbd168 (diff)
downloadlatinime-b12c174c2f04461e5c5e0d2e148742ef0bfc5594.tar.gz
latinime-b12c174c2f04461e5c5e0d2e148742ef0bfc5594.tar.xz
latinime-b12c174c2f04461e5c5e0d2e148742ef0bfc5594.zip
Merge "Hiding SuggestedWords.EMPTY and refactoring code that compares SuggestedWords instances directly to it to use isEmpty instead"
Diffstat (limited to 'java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java')
-rw-r--r--java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java b/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
index 33745a846..631289bf3 100644
--- a/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
+++ b/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
@@ -82,7 +82,7 @@ public final class SuggestionStripView extends RelativeLayout implements OnClick
private final ArrayList<View> mDividerViews = new ArrayList<>();
Listener mListener;
- private SuggestedWords mSuggestedWords = SuggestedWords.EMPTY;
+ private SuggestedWords mSuggestedWords = SuggestedWords.getEmptyInstance();
private int mStartIndexOfMoreSuggestions;
private final SuggestionStripLayoutHelper mLayoutHelper;