Close a multiprocess file handle.
Bug: 5034192 Change-Id: I9c3d757cfae313e9b7510e167de797a74c74a351main
parent
f24eb69d3f
commit
d3da6e6311
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue