mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
am 86780628: Merge "Fix an NPE."
* commit '8678062853291f46ea0b994375b251b6604c42a6': Fix an NPE.
This commit is contained in:
commit
dbb3b98a1d
@ -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…
x
Reference in New Issue
Block a user