diff options
author | 2012-03-12 16:11:16 +0900 | |
---|---|---|
committer | 2012-03-12 16:11:16 +0900 | |
commit | 9dedec7c29213bbae7d1917642c5709a441d18e5 (patch) | |
tree | eae4e976349112ab13f724ab8ff511930d15f0d1 /java/src | |
parent | 2de0c4b754060a613966c5177b7ff71d7c5c4b75 (diff) | |
download | latinime-9dedec7c29213bbae7d1917642c5709a441d18e5.tar.gz latinime-9dedec7c29213bbae7d1917642c5709a441d18e5.tar.xz latinime-9dedec7c29213bbae7d1917642c5709a441d18e5.zip |
Make a method accessible for tests
Tests are using a wrapper method that's going to disappear soon.
The method that becomes package-visible now is destined to be
removed too a little later.
Change-Id: If99b1c77ed52e050b47216cc7afab5f35c4bbb38
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 9aa3ebcda..78142b6b3 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. |