Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 86780628 authored by Jean Chalard's avatar Jean Chalard Committed by Android (Google) Code Review
Browse files

Merge "Fix an NPE."

parents 08bc97f8 673275cb
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -286,7 +286,8 @@ final public class BinaryDictionaryGetter {
            }
            if (!dictPackSettings.isWordListActive(wordListId)) continue;
            if (canUse) {
                fileList.add(AssetFileAddress.makeFromFileName(f.getPath()));
                final AssetFileAddress afa = AssetFileAddress.makeFromFileName(f.getPath());
                if (null != afa) fileList.add(afa);
            } else {
                Log.e(TAG, "Found a cached dictionary file but cannot read or use it");
            }