diff options
author | 2014-10-14 12:13:11 +0900 | |
---|---|---|
committer | 2014-10-31 14:33:05 +0900 | |
commit | 7c87859d4c16c9cf19b095b865d7000ebc3cdaa9 (patch) | |
tree | 1749fa549095cec85a08b863d3c3fd60577ffa5a /tests/src/com/android/inputmethod/latin/makedict/Ver2DictDecoder.java | |
parent | c096100b0191797834ce84e140560c0fadc8b264 (diff) | |
download | latinime-7c87859d4c16c9cf19b095b865d7000ebc3cdaa9.tar.gz latinime-7c87859d4c16c9cf19b095b865d7000ebc3cdaa9.tar.xz latinime-7c87859d4c16c9cf19b095b865d7000ebc3cdaa9.zip |
Using "blacklist" flag as "possibly offensive"
Bug: 11031090
Change-Id: I5cc0d006ab003656498eb82b0875eb9c051d331e
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/makedict/Ver2DictDecoder.java')
-rw-r--r-- | tests/src/com/android/inputmethod/latin/makedict/Ver2DictDecoder.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/src/com/android/inputmethod/latin/makedict/Ver2DictDecoder.java b/tests/src/com/android/inputmethod/latin/makedict/Ver2DictDecoder.java index 457e7af8e..5c261a94d 100644 --- a/tests/src/com/android/inputmethod/latin/makedict/Ver2DictDecoder.java +++ b/tests/src/com/android/inputmethod/latin/makedict/Ver2DictDecoder.java @@ -178,7 +178,8 @@ public class Ver2DictDecoder extends AbstractDictDecoder { throw new IOException("Cannot read the dictionary header."); } if (header.mFormatOptions.mVersion != FormatSpec.VERSION2 && - header.mFormatOptions.mVersion != FormatSpec.VERSION201) { + header.mFormatOptions.mVersion != FormatSpec.VERSION201 && + header.mFormatOptions.mVersion != FormatSpec.VERSION202) { throw new UnsupportedFormatException("File header has a wrong version : " + header.mFormatOptions.mVersion); } |