mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Close a multiprocess file handle.
Bug: 5034192 Change-Id: I9c3d757cfae313e9b7510e167de797a74c74a351
This commit is contained in:
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…
x
Reference in New Issue
Block a user