Fix unit tests by adding @UsedForTesting.
Change-Id: I62ec07210817295f59a174383ee4b33cc4fc2ca6
This commit is contained in:
parent
f73769c638
commit
d2e566f999
1 changed files with 1 additions and 0 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue