diff options
author | 2014-02-06 17:55:45 +0900 | |
---|---|---|
committer | 2014-02-06 18:19:42 +0900 | |
commit | fc9ca59cc1dccc8353528c42a7eb710ad6d90e14 (patch) | |
tree | 42a5edcc872c77c6b872919e9913cbcc98e04f30 /java/src/com/android/inputmethod/latin/utils/CombinedFormatUtils.java | |
parent | 48ea52800ac490b0c32c91b9982c7e01a455ffe5 (diff) | |
download | latinime-fc9ca59cc1dccc8353528c42a7eb710ad6d90e14.tar.gz latinime-fc9ca59cc1dccc8353528c42a7eb710ad6d90e14.tar.xz latinime-fc9ca59cc1dccc8353528c42a7eb710ad6d90e14.zip |
Implement getHeaderInfoNative.
Bug: 11281877
Bug: 12810574
Change-Id: Ia3d85ae2cfdb486e74b8636a62431eae883c85da
Diffstat (limited to 'java/src/com/android/inputmethod/latin/utils/CombinedFormatUtils.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/utils/CombinedFormatUtils.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/src/com/android/inputmethod/latin/utils/CombinedFormatUtils.java b/java/src/com/android/inputmethod/latin/utils/CombinedFormatUtils.java index 1348d5e77..bb7ae2f9b 100644 --- a/java/src/com/android/inputmethod/latin/utils/CombinedFormatUtils.java +++ b/java/src/com/android/inputmethod/latin/utils/CombinedFormatUtils.java @@ -37,11 +37,11 @@ public class CombinedFormatUtils { public static String formatAttributeMap(final HashMap<String, String> attributeMap) { final StringBuilder builder = new StringBuilder(); builder.append(DICTIONARY_TAG + "="); - if (attributeMap.containsKey(DictionaryHeader.DICTIONARY_DESCRIPTION_KEY)) { - builder.append(attributeMap.get(DictionaryHeader.DICTIONARY_DESCRIPTION_KEY)); + if (attributeMap.containsKey(DictionaryHeader.DICTIONARY_ID_KEY)) { + builder.append(attributeMap.get(DictionaryHeader.DICTIONARY_ID_KEY)); } for (final String key : attributeMap.keySet()) { - if (key == DictionaryHeader.DICTIONARY_DESCRIPTION_KEY) { + if (key.equals(DictionaryHeader.DICTIONARY_ID_KEY)) { continue; } final String value = attributeMap.get(key); |