diff options
author | 2020-07-22 14:08:35 -0700 | |
---|---|---|
committer | 2020-07-22 14:08:35 -0700 | |
commit | f53e034a174b473519c0a4755fb9440dc9ecbfcf (patch) | |
tree | ae3905d1c9f88100c160e6f8800d272adebfdd41 /java/src/com/android/inputmethod/latin/BinaryDictionaryGetter.java | |
parent | daadf71015bf37651ed81a2d5877b480736db5cd (diff) | |
download | latinime-f53e034a174b473519c0a4755fb9440dc9ecbfcf.tar.gz latinime-f53e034a174b473519c0a4755fb9440dc9ecbfcf.tar.xz latinime-f53e034a174b473519c0a4755fb9440dc9ecbfcf.zip |
Update language to comply with Android’s inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for reference
Bug: 161896447
Test: tapas LatinIME && m
Change-Id: I2ffb39ff70f61e579b62761d3da526a545dead1f
Diffstat (limited to 'java/src/com/android/inputmethod/latin/BinaryDictionaryGetter.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/BinaryDictionaryGetter.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/src/com/android/inputmethod/latin/BinaryDictionaryGetter.java b/java/src/com/android/inputmethod/latin/BinaryDictionaryGetter.java index 60016371b..c13f0e20a 100644 --- a/java/src/com/android/inputmethod/latin/BinaryDictionaryGetter.java +++ b/java/src/com/android/inputmethod/latin/BinaryDictionaryGetter.java @@ -196,8 +196,8 @@ final public class BinaryDictionaryGetter { } // ## HACK ## we prevent usage of a dictionary before version 18. The reason for this is, since - // those do not include whitelist entries, the new code with an old version of the dictionary - // would lose whitelist functionality. + // those do not include allowlist entries, the new code with an old version of the dictionary + // would lose allowlist functionality. private static boolean hackCanUseDictionaryFile(final File file) { if (!SHOULD_USE_DICT_VERSION) { return true; @@ -211,7 +211,7 @@ final public class BinaryDictionaryGetter { // No version in the options : the format is unexpected return false; } - // Version 18 is the first one to include the whitelist + // Version 18 is the first one to include the allowlist. // Obviously this is a big ## HACK ## return Integer.parseInt(version) >= 18; } catch (java.io.FileNotFoundException e) { |