aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/makedict/FormatSpec.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2013-12-13 08:33:57 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2013-12-13 08:33:57 -0800
commit3ac00d1889f7752bec6a653842a1fc2f079ab911 (patch)
treefc8c92ee41a00075830a6363bfeafe85aa8cbc0b /java/src/com/android/inputmethod/latin/makedict/FormatSpec.java
parent379a7e88efaff2af42313faddac86fbdfb5881d1 (diff)
parenta245d15da5d295af21ead9a01583c64796a31ad7 (diff)
downloadlatinime-3ac00d1889f7752bec6a653842a1fc2f079ab911.tar.gz
latinime-3ac00d1889f7752bec6a653842a1fc2f079ab911.tar.xz
latinime-3ac00d1889f7752bec6a653842a1fc2f079ab911.zip
am a245d15d: Have dicttool use the native library to generate v4 dicts.
* commit 'a245d15da5d295af21ead9a01583c64796a31ad7': Have dicttool use the native library to generate v4 dicts.
Diffstat (limited to 'java/src/com/android/inputmethod/latin/makedict/FormatSpec.java')
-rw-r--r--java/src/com/android/inputmethod/latin/makedict/FormatSpec.java4
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;
}