mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
am 65e49700: Fix hackCanUseDictionaryFile.
* commit '65e4970026fd0e7964796c0e252b6d71632b634c': Fix hackCanUseDictionaryFile.
This commit is contained in:
commit
fe4db6a82e
@ -28,6 +28,7 @@ import android.util.Log;
|
||||
import java.io.File;
|
||||
import java.io.FileInputStream;
|
||||
import java.io.IOException;
|
||||
import java.nio.BufferUnderflowException;
|
||||
import java.nio.ByteBuffer;
|
||||
import java.nio.channels.FileChannel;
|
||||
import java.util.ArrayList;
|
||||
@ -382,6 +383,8 @@ class BinaryDictionaryGetter {
|
||||
return false;
|
||||
} catch (NumberFormatException e) {
|
||||
return false;
|
||||
} catch (BufferUnderflowException e) {
|
||||
return false;
|
||||
} finally {
|
||||
if (inStream != null) {
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user