Merge "Update LatinIME to comply with Android's inclusive language guidance" am: 33fa7e7126
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1398188 Change-Id: I1f6a3172d69957c82840635c68820b3aff98f8bfmain
commit
dcf1ecf794
|
@ -14,7 +14,7 @@
|
||||||
# should not be considered a typo, but that should never be suggested
|
# should not be considered a typo, but that should never be suggested
|
||||||
# explicitly. An entry may be made not a word by adding a `not_a_word'
|
# explicitly. An entry may be made not a word by adding a `not_a_word'
|
||||||
# field with a value of `true'. The main reason for putting such entries
|
# field with a value of `true'. The main reason for putting such entries
|
||||||
# into the dictionary is to add shortcut targets and maybe a whitelist
|
# into the dictionary is to add shortcut targets and maybe an allowlist
|
||||||
# replacement.
|
# replacement.
|
||||||
#
|
#
|
||||||
# Each word may or may not have any number of shortcut target lines
|
# Each word may or may not have any number of shortcut target lines
|
||||||
|
|
|
@ -222,7 +222,7 @@ public class RichInputMethodSubtype {
|
||||||
return noLanguageSubtype;
|
return noLanguageSubtype;
|
||||||
}
|
}
|
||||||
Log.w(TAG, "Can't find any language with QWERTY subtype");
|
Log.w(TAG, "Can't find any language with QWERTY subtype");
|
||||||
Log.w(TAG, "No input method subtype found; returning dummy subtype: "
|
Log.w(TAG, "No input method subtype found; returning placeholder subtype: "
|
||||||
+ PLACEHOLDER_NO_LANGUAGE_SUBTYPE);
|
+ PLACEHOLDER_NO_LANGUAGE_SUBTYPE);
|
||||||
return PLACEHOLDER_NO_LANGUAGE_SUBTYPE;
|
return PLACEHOLDER_NO_LANGUAGE_SUBTYPE;
|
||||||
}
|
}
|
||||||
|
@ -243,7 +243,7 @@ public class RichInputMethodSubtype {
|
||||||
return emojiSubtype;
|
return emojiSubtype;
|
||||||
}
|
}
|
||||||
Log.w(TAG, "Can't find emoji subtype");
|
Log.w(TAG, "Can't find emoji subtype");
|
||||||
Log.w(TAG, "No input method subtype found; returning dummy subtype: "
|
Log.w(TAG, "No input method subtype found; returning placeholder subtype: "
|
||||||
+ PLACEHOLDER_EMOJI_SUBTYPE);
|
+ PLACEHOLDER_EMOJI_SUBTYPE);
|
||||||
return PLACEHOLDER_EMOJI_SUBTYPE;
|
return PLACEHOLDER_EMOJI_SUBTYPE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue