aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/makedict/Ver2DictDecoder.java
diff options
context:
space:
mode:
authorKeisuke Kuroyanagi <ksk@google.com>2014-03-05 19:42:53 +0900
committerKeisuke Kuroyanagi <ksk@google.com>2014-03-05 19:42:53 +0900
commitde36b47d29b7d6bdfb448a97bef2dcc3f5649205 (patch)
tree53466873e0dc5ef3802d3fd67a9fcf78a22cbc12 /java/src/com/android/inputmethod/latin/makedict/Ver2DictDecoder.java
parente784148ae6872942434eaa55ca32b4c6442cc8e8 (diff)
downloadlatinime-de36b47d29b7d6bdfb448a97bef2dcc3f5649205.tar.gz
latinime-de36b47d29b7d6bdfb448a97bef2dcc3f5649205.tar.xz
latinime-de36b47d29b7d6bdfb448a97bef2dcc3f5649205.zip
Use BinaryDictionaryUtils to read dictionary header.
Bug: 8187060 Bug:13035567 Change-Id: I90a5e0665c367f5a1bd786f4babf0d03e79e68fa
Diffstat (limited to 'java/src/com/android/inputmethod/latin/makedict/Ver2DictDecoder.java')
-rw-r--r--java/src/com/android/inputmethod/latin/makedict/Ver2DictDecoder.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/makedict/Ver2DictDecoder.java b/java/src/com/android/inputmethod/latin/makedict/Ver2DictDecoder.java
index ae1e443c5..ab24fbc84 100644
--- a/java/src/com/android/inputmethod/latin/makedict/Ver2DictDecoder.java
+++ b/java/src/com/android/inputmethod/latin/makedict/Ver2DictDecoder.java
@@ -123,6 +123,7 @@ public class Ver2DictDecoder extends AbstractDictDecoder {
private final DictionaryBufferFactory mBufferFactory;
protected DictBuffer mDictBuffer;
+ @UsedForTesting
/* package */ Ver2DictDecoder(final File file, final long offset, final long length,
final int factoryFlag) {
mDictionaryBinaryFile = file;