Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ec998692 authored by Amith Yamasani's avatar Amith Yamasani Committed by Android (Google) Code Review
Browse files

Merge "Fix incorrect matching of last character to unexpected names in contact dictionary."

parents 12caec4d 787a654f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -248,7 +248,7 @@ public class ExpandableDictionary extends Dictionary {
                    if (currentChar == lowerC || currentChar == c) {
                        word[depth] = c;

                        if (codeSize == depth + 1) {
                        if (codeSize == inputIndex + 1) {
                            if (terminal) {
                                if (INCLUDE_TYPED_WORD_IF_VALID 
                                        || !same(word, depth + 1, codes.getTypedWord())) {