Skip to content
Snippets Groups Projects
Commit d3da6e63 authored by Jean Chalard's avatar Jean Chalard
Browse files

Close a multiprocess file handle.

Bug: 5034192
Change-Id: I9c3d757cfae313e9b7510e167de797a74c74a351
parent f24eb69d
No related branches found
No related tags found
No related merge requests found
......@@ -107,6 +107,7 @@ public class BinaryDictionaryFileDumper {
if (null == afd) return null;
final String fileName =
copyFileTo(afd.createInputStream(), getCacheFileNameForLocale(locale, context));
afd.close();
return Arrays.asList(AssetFileAddress.makeFromFileName(fileName));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment