diff options
author | 2014-04-29 11:34:28 -0700 | |
---|---|---|
committer | 2014-04-29 11:34:28 -0700 | |
commit | 2debf168920bb852b1583446fc336743f98b3c04 (patch) | |
tree | 7324a335fb65fcc585695d7d061b04aeba64be10 /java/src/com/android/inputmethod/latin/makedict/Ver4DictDecoder.java | |
parent | 5c36065b74852857b3cc520d7be5df9413937cd9 (diff) | |
parent | 5df8b42709662b0e599019e4fd17c4e153ff6b47 (diff) | |
download | latinime-2debf168920bb852b1583446fc336743f98b3c04.tar.gz latinime-2debf168920bb852b1583446fc336743f98b3c04.tar.xz latinime-2debf168920bb852b1583446fc336743f98b3c04.zip |
Merge commit '5df8b42709662b0e599019e4fd17c4e153ff6b47' into HEAD
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 { |