am d2e566f9: Fix unit tests by adding @UsedForTesting.

* commit 'd2e566f9991e2a3540935a7e38d01dd4f65fd42b':
  Fix unit tests by adding @UsedForTesting.
This commit is contained in:
Keisuke Kuroyanagi 2014-06-20 07:34:58 +00:00 committed by Android Git Automerger
commit cebcdf9b71

View file

@ -362,6 +362,7 @@ abstract public class ExpandableBinaryDictionary extends Dictionary {
/** /**
* Dynamically remove the n-gram entry in the dictionary. * Dynamically remove the n-gram entry in the dictionary.
*/ */
@UsedForTesting
public void removeNgramDynamically(final PrevWordsInfo prevWordsInfo, final String word) { public void removeNgramDynamically(final PrevWordsInfo prevWordsInfo, final String word) {
reloadDictionaryIfRequired(); reloadDictionaryIfRequired();
asyncExecuteTaskWithWriteLock(new Runnable() { asyncExecuteTaskWithWriteLock(new Runnable() {