diff options
author | 2012-01-25 17:01:53 +0900 | |
---|---|---|
committer | 2012-01-25 17:04:00 +0900 | |
commit | 38d6a18821794dc733760b55fd2a896626f784e2 (patch) | |
tree | 17be93d82aa6c99e44fa745887127b83bbac0010 /java/src/com/android/inputmethod/latin/suggestions/MoreSuggestions.java | |
parent | 117c124c13f0e6af737b1858bd5c4d9e6e7eb353 (diff) | |
download | latinime-38d6a18821794dc733760b55fd2a896626f784e2.tar.gz latinime-38d6a18821794dc733760b55fd2a896626f784e2.tar.xz latinime-38d6a18821794dc733760b55fd2a896626f784e2.zip |
Use String instaed of CharSequence in Key class
Change-Id: Ia76a41daede402ed2a509e110ae97d6bb660c760
Diffstat (limited to 'java/src/com/android/inputmethod/latin/suggestions/MoreSuggestions.java')
-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; |