Fix the build.
It seems this change snuck out from a previous version. Change-Id: I9c33d51273732b1d55bfd60f0957184c86fa88abmain
parent
c7020f54f9
commit
1e0cc86b6f
|
@ -149,7 +149,13 @@ public final class BinaryDictionaryFileDumper {
|
||||||
|
|
||||||
final Uri.Builder wordListUriBuilder = getProviderUriBuilder(id);
|
final Uri.Builder wordListUriBuilder = getProviderUriBuilder(id);
|
||||||
final String finalFileName = BinaryDictionaryGetter.getCacheFileName(id, locale, context);
|
final String finalFileName = BinaryDictionaryGetter.getCacheFileName(id, locale, context);
|
||||||
final String tempFileName = BinaryDictionaryGetter.getTempFileName(id, context);
|
String tempFileName;
|
||||||
|
try {
|
||||||
|
tempFileName = BinaryDictionaryGetter.getTempFileName(id, context);
|
||||||
|
} catch (IOException e) {
|
||||||
|
Log.e(TAG, "Can't open the temporary file", e);
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
for (int mode = MODE_MIN; mode <= MODE_MAX; ++mode) {
|
for (int mode = MODE_MIN; mode <= MODE_MAX; ++mode) {
|
||||||
InputStream originalSourceStream = null;
|
InputStream originalSourceStream = null;
|
||||||
|
|
Loading…
Reference in New Issue