diff options
author | 2013-10-10 23:57:54 -0700 | |
---|---|---|
committer | 2013-10-10 23:57:54 -0700 | |
commit | c068780b9d66348af776893fe3178f9d3630801f (patch) | |
tree | 9e04c491996c8323547d8f2718b98574baaa3427 /java/src/com/android/inputmethod/latin/makedict/Ver4DictDecoder.java | |
parent | 39c6ea2115df1426d069d30db8286fc90b77967a (diff) | |
parent | 9514ed5c2a49e645e2d468f7191d54d77d9f127f (diff) | |
download | latinime-c068780b9d66348af776893fe3178f9d3630801f.tar.gz latinime-c068780b9d66348af776893fe3178f9d3630801f.tar.xz latinime-c068780b9d66348af776893fe3178f9d3630801f.zip |
am 9514ed5c: Add the new format of bigram entries.
* commit '9514ed5c2a49e645e2d468f7191d54d77d9f127f':
Add the new format of bigram entries.
Diffstat (limited to 'java/src/com/android/inputmethod/latin/makedict/Ver4DictDecoder.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/makedict/Ver4DictDecoder.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/makedict/Ver4DictDecoder.java b/java/src/com/android/inputmethod/latin/makedict/Ver4DictDecoder.java index 53729075f..734223ec2 100644 --- a/java/src/com/android/inputmethod/latin/makedict/Ver4DictDecoder.java +++ b/java/src/com/android/inputmethod/latin/makedict/Ver4DictDecoder.java @@ -153,8 +153,12 @@ public class Ver4DictDecoder extends AbstractDictDecoder { final File contentFile = new File(mDictDirectory, mDictDirectory.getName() + FormatSpec.SHORTCUT_FILE_EXTENSION + FormatSpec.CONTENT_TABLE_FILE_SUFFIX + FormatSpec.SHORTCUT_CONTENT_ID); + final File timestampsFile = new File(mDictDirectory, mDictDirectory.getName() + + FormatSpec.SHORTCUT_FILE_EXTENSION + FormatSpec.CONTENT_TABLE_FILE_SUFFIX + + FormatSpec.SHORTCUT_CONTENT_ID); mShortcutAddressTable = SparseTable.readFromFiles(lookupIndexFile, - new File[] { contentFile }, FormatSpec.SHORTCUT_ADDRESS_TABLE_BLOCK_SIZE); + new File[] { contentFile, timestampsFile }, + FormatSpec.SHORTCUT_ADDRESS_TABLE_BLOCK_SIZE); } protected static class PtNodeReader extends AbstractDictDecoder.PtNodeReader { |