diff options
author | 2013-12-12 15:08:10 +0900 | |
---|---|---|
committer | 2013-12-13 18:18:20 +0900 | |
commit | a245d15da5d295af21ead9a01583c64796a31ad7 (patch) | |
tree | 1156247b156533c7b946f0f42c1d74642ea991e1 /java/src/com/android/inputmethod/latin/makedict/FormatSpec.java | |
parent | af0c222a5ec4a8dda3db7b99b2e641434f2c4225 (diff) | |
download | latinime-a245d15da5d295af21ead9a01583c64796a31ad7.tar.gz latinime-a245d15da5d295af21ead9a01583c64796a31ad7.tar.xz latinime-a245d15da5d295af21ead9a01583c64796a31ad7.zip |
Have dicttool use the native library to generate v4 dicts.
Yay !
Change-Id: Iea8ced9e81031b9ab7eff05ad9ef7215be248de9
Diffstat (limited to 'java/src/com/android/inputmethod/latin/makedict/FormatSpec.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/makedict/FormatSpec.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/makedict/FormatSpec.java b/java/src/com/android/inputmethod/latin/makedict/FormatSpec.java index 20ddba836..f23fe4656 100644 --- a/java/src/com/android/inputmethod/latin/makedict/FormatSpec.java +++ b/java/src/com/android/inputmethod/latin/makedict/FormatSpec.java @@ -401,7 +401,7 @@ public final class FormatSpec { if (dictFile.isDirectory()) { return new Ver4DictDecoder(dictFile, bufferType); } else if (dictFile.isFile()) { - return new Ver3DictDecoder(dictFile, bufferType); + return new Ver2DictDecoder(dictFile, bufferType); } return null; } @@ -411,7 +411,7 @@ public final class FormatSpec { if (dictFile.isDirectory()) { return new Ver4DictDecoder(dictFile, factory); } else if (dictFile.isFile()) { - return new Ver3DictDecoder(dictFile, factory); + return new Ver2DictDecoder(dictFile, factory); } return null; } |