aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/makedict/BinaryDictInputOutput.java
diff options
context:
space:
mode:
authorYuichiro Hanada <yhanada@google.com>2012-09-18 10:14:15 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-09-18 10:14:15 -0700
commiteecaf298f350a9c4a5bbd0c7f39f2f535ffb2d29 (patch)
treeb5604ee849fcda8eda3b84d09907062ea212fa84 /java/src/com/android/inputmethod/latin/makedict/BinaryDictInputOutput.java
parent79939a5d1ae36df5ada0793d10dca9b36bf90901 (diff)
parentf05a2c329498d1fd781ccde4b425792ae4da6503 (diff)
downloadlatinime-eecaf298f350a9c4a5bbd0c7f39f2f535ffb2d29.tar.gz
latinime-eecaf298f350a9c4a5bbd0c7f39f2f535ffb2d29.tar.xz
latinime-eecaf298f350a9c4a5bbd0c7f39f2f535ffb2d29.zip
am f05a2c32: am b686df15: Add a new flag for linked list nodes.
* commit 'f05a2c329498d1fd781ccde4b425792ae4da6503': Add a new flag for linked list nodes.
Diffstat (limited to 'java/src/com/android/inputmethod/latin/makedict/BinaryDictInputOutput.java')
-rw-r--r--java/src/com/android/inputmethod/latin/makedict/BinaryDictInputOutput.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/makedict/BinaryDictInputOutput.java b/java/src/com/android/inputmethod/latin/makedict/BinaryDictInputOutput.java
index 3a5f24c86..72d12299b 100644
--- a/java/src/com/android/inputmethod/latin/makedict/BinaryDictInputOutput.java
+++ b/java/src/com/android/inputmethod/latin/makedict/BinaryDictInputOutput.java
@@ -786,7 +786,8 @@ public class BinaryDictInputOutput {
return (options.mFrenchLigatureProcessing ? FormatSpec.FRENCH_LIGATURE_PROCESSING_FLAG : 0)
+ (options.mGermanUmlautProcessing ? FormatSpec.GERMAN_UMLAUT_PROCESSING_FLAG : 0)
+ (hasBigrams ? FormatSpec.CONTAINS_BIGRAMS_FLAG : 0)
- + (formatOptions.mHasParentAddress ? FormatSpec.HAS_PARENT_ADDRESS : 0);
+ + (formatOptions.mHasParentAddress ? FormatSpec.HAS_PARENT_ADDRESS : 0)
+ + (formatOptions.mHasLinkedListNode ? FormatSpec.HAS_LINKEDLIST_NODE : 0);
}
/**
@@ -1540,7 +1541,8 @@ public class BinaryDictInputOutput {
0 != (optionsFlags & FormatSpec.GERMAN_UMLAUT_PROCESSING_FLAG),
0 != (optionsFlags & FormatSpec.FRENCH_LIGATURE_PROCESSING_FLAG)),
new FormatOptions(version,
- 0 != (optionsFlags & FormatSpec.HAS_PARENT_ADDRESS)));
+ 0 != (optionsFlags & FormatSpec.HAS_PARENT_ADDRESS),
+ 0 != (optionsFlags & FormatSpec.HAS_LINKEDLIST_NODE)));
return header;
}