diff options
author | 2012-01-25 00:13:40 -0800 | |
---|---|---|
committer | 2012-01-25 00:13:40 -0800 | |
commit | 71aba3d2fbe7da4316b5f6df7707479cd70bb22f (patch) | |
tree | 17be93d82aa6c99e44fa745887127b83bbac0010 /java/src/com/android/inputmethod/latin | |
parent | 3095f873176c0ced01937cda7efeec561ffd0f2b (diff) | |
parent | 38d6a18821794dc733760b55fd2a896626f784e2 (diff) | |
download | latinime-71aba3d2fbe7da4316b5f6df7707479cd70bb22f.tar.gz latinime-71aba3d2fbe7da4316b5f6df7707479cd70bb22f.tar.xz latinime-71aba3d2fbe7da4316b5f6df7707479cd70bb22f.zip |
am 38d6a188: Use String instaed of CharSequence in Key class
* commit '38d6a18821794dc733760b55fd2a896626f784e2':
Use String instaed of CharSequence in Key class
Diffstat (limited to 'java/src/com/android/inputmethod/latin')
-rw-r--r-- | java/src/com/android/inputmethod/latin/suggestions/MoreSuggestions.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/suggestions/MoreSuggestions.java b/java/src/com/android/inputmethod/latin/suggestions/MoreSuggestions.java index 3d26d972d..f42b8e681 100644 --- a/java/src/com/android/inputmethod/latin/suggestions/MoreSuggestions.java +++ b/java/src/com/android/inputmethod/latin/suggestions/MoreSuggestions.java @@ -72,7 +72,7 @@ public class MoreSuggestions extends Keyboard { int pos = fromPos, rowStartPos = fromPos; final int size = Math.min(suggestions.size(), SuggestionsView.MAX_SUGGESTIONS); while (pos < size) { - final CharSequence word = suggestions.getWord(pos); + final String word = suggestions.getWord(pos).toString(); // TODO: Should take care of text x-scaling. mWidths[pos] = (int)view.getDefaultLabelWidth(word, paint) + padding; final int numColumn = pos - rowStartPos + 1; |