diff options
author | 2014-01-31 08:40:24 +0000 | |
---|---|---|
committer | 2014-01-31 08:40:25 +0000 | |
commit | 4e6f72cb801df273ec649f56d6a5c0182063b332 (patch) | |
tree | 5dd0239243b0adf53610595d33bc50c7c732a50c /java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java | |
parent | e6ae5a839699c23f6accbc93249a119dc9a69320 (diff) | |
parent | 79b2e4d86c7acb18826f3ad4e962423eb6a91bd7 (diff) | |
download | latinime-4e6f72cb801df273ec649f56d6a5c0182063b332.tar.gz latinime-4e6f72cb801df273ec649f56d6a5c0182063b332.tar.xz latinime-4e6f72cb801df273ec649f56d6a5c0182063b332.zip |
Merge "[HD03] Straighten out attribute key names in Java."
Diffstat (limited to 'java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java b/java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java index 8e1675b2a..4dee84a7b 100644 --- a/java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java +++ b/java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java @@ -267,9 +267,9 @@ abstract public class ExpandableBinaryDictionary extends Dictionary { protected Map<String, String> getHeaderAttributeMap() { HashMap<String, String> attributeMap = new HashMap<String, String>(); - attributeMap.put(FormatSpec.FileHeader.DICTIONARY_ID_ATTRIBUTE, mDictName); - attributeMap.put(FormatSpec.FileHeader.DICTIONARY_LOCALE_ATTRIBUTE, mLocale.toString()); - attributeMap.put(FormatSpec.FileHeader.DICTIONARY_VERSION_ATTRIBUTE, + attributeMap.put(FormatSpec.FileHeader.DICTIONARY_ID_KEY, mDictName); + attributeMap.put(FormatSpec.FileHeader.DICTIONARY_LOCALE_KEY, mLocale.toString()); + attributeMap.put(FormatSpec.FileHeader.DICTIONARY_VERSION_KEY, String.valueOf(TimeUnit.MILLISECONDS.toSeconds(System.currentTimeMillis()))); return attributeMap; } |