Close a multiprocess file handle.

Bug: 5034192
Change-Id: I9c3d757cfae313e9b7510e167de797a74c74a351
main
Jean Chalard 2011-07-26 22:13:34 +09:00
parent f24eb69d3f
commit d3da6e6311
1 changed files with 1 additions and 0 deletions

View File

@ -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));
}