diff options
author | 2012-03-12 00:23:29 -0700 | |
---|---|---|
committer | 2012-03-12 00:23:29 -0700 | |
commit | 30936116d888324f8556ffcd92f9ec2751d0ad55 (patch) | |
tree | 9fd60705720cfb7b0b252cb3dffb5178dc4f08b7 /java/src | |
parent | 1dfef0336d5968dbd00b73489778cee1fb233d56 (diff) | |
parent | 9dedec7c29213bbae7d1917642c5709a441d18e5 (diff) | |
download | latinime-30936116d888324f8556ffcd92f9ec2751d0ad55.tar.gz latinime-30936116d888324f8556ffcd92f9ec2751d0ad55.tar.xz latinime-30936116d888324f8556ffcd92f9ec2751d0ad55.zip |
Merge "Make a method accessible for tests"
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/com/android/inputmethod/latin/SuggestedWords.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/SuggestedWords.java b/java/src/com/android/inputmethod/latin/SuggestedWords.java index 7279a3f0b..8bfe7694b 100644 --- a/java/src/com/android/inputmethod/latin/SuggestedWords.java +++ b/java/src/com/android/inputmethod/latin/SuggestedWords.java @@ -122,7 +122,8 @@ public class SuggestedWords { return addWord(word, info); } - private Builder addWord(CharSequence word, SuggestedWordInfo suggestedWordInfo) { + /* package for tests */ + Builder addWord(CharSequence word, SuggestedWordInfo suggestedWordInfo) { if (!TextUtils.isEmpty(word)) { mWords.add(word); // It's okay if suggestedWordInfo is null since it's checked where it's used. |