Merge "Fix an NPE."
This commit is contained in:
commit
8678062853
1 changed files with 2 additions and 1 deletions
|
@ -286,7 +286,8 @@ final public class BinaryDictionaryGetter {
|
||||||
}
|
}
|
||||||
if (!dictPackSettings.isWordListActive(wordListId)) continue;
|
if (!dictPackSettings.isWordListActive(wordListId)) continue;
|
||||||
if (canUse) {
|
if (canUse) {
|
||||||
fileList.add(AssetFileAddress.makeFromFileName(f.getPath()));
|
final AssetFileAddress afa = AssetFileAddress.makeFromFileName(f.getPath());
|
||||||
|
if (null != afa) fileList.add(afa);
|
||||||
} else {
|
} else {
|
||||||
Log.e(TAG, "Found a cached dictionary file but cannot read or use it");
|
Log.e(TAG, "Found a cached dictionary file but cannot read or use it");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue