am fe4db6a8: am 65e49700: Fix hackCanUseDictionaryFile.

* commit 'fe4db6a82e3d82b6810c9b6c04d6ab74c79f036a':
  Fix hackCanUseDictionaryFile.
This commit is contained in:
Yuichiro Hanada 2012-09-18 00:10:49 -07:00 committed by Android Git Automerger
commit 902fbd9f12

View file

@ -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 {