From d2e566f9991e2a3540935a7e38d01dd4f65fd42b Mon Sep 17 00:00:00 2001 From: Keisuke Kuroyanagi Date: Fri, 20 Jun 2014 16:27:46 +0900 Subject: [PATCH] Fix unit tests by adding @UsedForTesting. Change-Id: I62ec07210817295f59a174383ee4b33cc4fc2ca6 --- .../android/inputmethod/latin/ExpandableBinaryDictionary.java | 1 + 1 file changed, 1 insertion(+) diff --git a/java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java b/java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java index 918b610e5..6199c7dfe 100644 --- a/java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java +++ b/java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java @@ -362,6 +362,7 @@ abstract public class ExpandableBinaryDictionary extends Dictionary { /** * Dynamically remove the n-gram entry in the dictionary. */ + @UsedForTesting public void removeNgramDynamically(final PrevWordsInfo prevWordsInfo, final String word) { reloadDictionaryIfRequired(); asyncExecuteTaskWithWriteLock(new Runnable() {