From 51a590b2fef3e682e72fbfd6014bc644786ad4fe Mon Sep 17 00:00:00 2001 From: Yuichiro Hanada Date: Thu, 26 Sep 2013 15:26:31 +0900 Subject: [PATCH] Fix getDictionary. Change-Id: I6bc3ec8dd4397a9aaf9dca2f16ce8a1929a47e9e --- .../inputmethod/latin/dicttool/BinaryDictOffdeviceUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/dicttool/src/com/android/inputmethod/latin/dicttool/BinaryDictOffdeviceUtils.java b/tools/dicttool/src/com/android/inputmethod/latin/dicttool/BinaryDictOffdeviceUtils.java index fa80385fc..6c4cbcf9d 100644 --- a/tools/dicttool/src/com/android/inputmethod/latin/dicttool/BinaryDictOffdeviceUtils.java +++ b/tools/dicttool/src/com/android/inputmethod/latin/dicttool/BinaryDictOffdeviceUtils.java @@ -185,7 +185,7 @@ public final class BinaryDictOffdeviceUtils { crash(filename, new RuntimeException( filename + " does not seem to be a dictionary file")); } else { - final DictDecoder dictDecoder = FormatSpec.getDictDecoder(file, + final DictDecoder dictDecoder = FormatSpec.getDictDecoder(decodedSpec.mFile, DictDecoder.USE_BYTEARRAY); if (report) { System.out.println("Format : Binary dictionary format");