Skip to content

Commit bfe20d1

Browse files
Dianne HackbornAndroid Git Automerger
authored andcommitted
am 8bfba7d: Merge "fix wrong substring"
* commit '8bfba7df376509cc944b80bd1f1715f1ef94b246': fix wrong substring
2 parents d86bebb + 8bfba7d commit bfe20d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/java/android/provider/ContactsContract.java

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8362,7 +8362,7 @@ public static String snippetize(String content, String displayName, String query
83628362
// Line contains the query string - now search for it at the start of tokens.
83638363
List<String> lineTokens = new ArrayList<String>();
83648364
List<Integer> tokenOffsets = new ArrayList<Integer>();
8365-
split(contentLine.trim(), lineTokens, tokenOffsets);
8365+
split(contentLine, lineTokens, tokenOffsets);
83668366

83678367
// As we find matches against the query, we'll populate this list with the marked
83688368
// (or unchanged) tokens.

0 commit comments

Comments
 (0)