am d2e566f9: Fix unit tests by adding @UsedForTesting.
* commit 'd2e566f9991e2a3540935a7e38d01dd4f65fd42b': Fix unit tests by adding @UsedForTesting.main
commit
cebcdf9b71
|
@ -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 New Issue