aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2013-09-26 05:57:40 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-09-26 05:57:40 -0700
commit4d4534b3773489d4e5e99683a8220ee7b61c1e80 (patch)
treeaec41cbb0fbdc88c7ae1464fdc50f95e3ea3694a
parent84f6b2c0ee452414dc92117916d070c01db3b019 (diff)
parent4ec2c6cc5e57835e4d5a5a015d6365549cb55718 (diff)
downloadlatinime-4d4534b3773489d4e5e99683a8220ee7b61c1e80.tar.gz
latinime-4d4534b3773489d4e5e99683a8220ee7b61c1e80.tar.xz
latinime-4d4534b3773489d4e5e99683a8220ee7b61c1e80.zip
am 4ec2c6cc: Merge "Fix getDictionary."
* commit '4ec2c6cc5e57835e4d5a5a015d6365549cb55718': Fix getDictionary.
-rw-r--r--tools/dicttool/src/com/android/inputmethod/latin/dicttool/BinaryDictOffdeviceUtils.java2
1 files changed, 1 insertions, 1 deletions
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");