am d2e566f9: Fix unit tests by adding @UsedForTesting.

* commit 'd2e566f9991e2a3540935a7e38d01dd4f65fd42b':
  Fix unit tests by adding @UsedForTesting.
main
Keisuke Kuroyanagi 2014-06-20 07:34:58 +00:00 committed by Android Git Automerger
commit cebcdf9b71
1 changed files with 1 additions and 0 deletions

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() {