Skip to content

Commit 8bfba7d

Browse files
Dianne Hackbornandroid code review
authored andcommitted
Merge "fix wrong substring"
2 parents 322b0a1 + 08bab56 commit 8bfba7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)