aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/personalization/DecayingExpandableBinaryDictionaryBase.java
diff options
context:
space:
mode:
authorKeisuke Kuroyanagi <ksk@google.com>2013-12-04 08:03:53 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-12-04 08:03:53 +0000
commitc63f2762cc09c8917fd4a994b8ae03fae79565d7 (patch)
tree16e2c554a1437e7d37b396c5bacec8a005bd2a0c /java/src/com/android/inputmethod/latin/personalization/DecayingExpandableBinaryDictionaryBase.java
parent2fed447b8e9d3e43ba3bc9e7e5fc4ce7093dd7d0 (diff)
parent4d68867839565c676c1e1198168ad8f51628e2ed (diff)
downloadlatinime-c63f2762cc09c8917fd4a994b8ae03fae79565d7.tar.gz
latinime-c63f2762cc09c8917fd4a994b8ae03fae79565d7.tar.xz
latinime-c63f2762cc09c8917fd4a994b8ae03fae79565d7.zip
Merge "Start to use historical info."
Diffstat (limited to 'java/src/com/android/inputmethod/latin/personalization/DecayingExpandableBinaryDictionaryBase.java')
-rw-r--r--java/src/com/android/inputmethod/latin/personalization/DecayingExpandableBinaryDictionaryBase.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/personalization/DecayingExpandableBinaryDictionaryBase.java b/java/src/com/android/inputmethod/latin/personalization/DecayingExpandableBinaryDictionaryBase.java
index f4b7d6e5c..529ddc257 100644
--- a/java/src/com/android/inputmethod/latin/personalization/DecayingExpandableBinaryDictionaryBase.java
+++ b/java/src/com/android/inputmethod/latin/personalization/DecayingExpandableBinaryDictionaryBase.java
@@ -94,6 +94,8 @@ public abstract class DecayingExpandableBinaryDictionaryBase extends ExpandableB
FormatSpec.FileHeader.ATTRIBUTE_VALUE_TRUE);
attributeMap.put(FormatSpec.FileHeader.USES_FORGETTING_CURVE_ATTRIBUTE,
FormatSpec.FileHeader.ATTRIBUTE_VALUE_TRUE);
+ attributeMap.put(FormatSpec.FileHeader.HAS_HISTORICAL_INFO_ATTRIBUTE,
+ FormatSpec.FileHeader.ATTRIBUTE_VALUE_TRUE);
attributeMap.put(FormatSpec.FileHeader.DICTIONARY_ID_ATTRIBUTE, mFileName);
attributeMap.put(FormatSpec.FileHeader.DICTIONARY_LOCALE_ATTRIBUTE, mLocale.toString());
attributeMap.put(FormatSpec.FileHeader.DICTIONARY_VERSION_ATTRIBUTE,