Merge "Fix incorrect matching of last character to unexpected names in contact dictionary."
commit
ec99869272
|
@ -248,7 +248,7 @@ public class ExpandableDictionary extends Dictionary {
|
||||||
if (currentChar == lowerC || currentChar == c) {
|
if (currentChar == lowerC || currentChar == c) {
|
||||||
word[depth] = c;
|
word[depth] = c;
|
||||||
|
|
||||||
if (codeSize == depth + 1) {
|
if (codeSize == inputIndex + 1) {
|
||||||
if (terminal) {
|
if (terminal) {
|
||||||
if (INCLUDE_TYPED_WORD_IF_VALID
|
if (INCLUDE_TYPED_WORD_IF_VALID
|
||||||
|| !same(word, depth + 1, codes.getTypedWord())) {
|
|| !same(word, depth + 1, codes.getTypedWord())) {
|
||||||
|
|
Loading…
Reference in New Issue