am 513f68bc: am bfe20d1a: am 8bfba7df: Merge "fix wrong substring"

* commit '513f68bc5a5f15d799f8795392d4861a5704fba1':
  fix wrong substring
This commit is contained in:
Dianne Hackborn
2012-08-24 07:30:11 -07:00
committed by Android Git Automerger

2
core/java/android/provider/ContactsContract.java Normal file → Executable file
View File

@@ -8362,7 +8362,7 @@ public final class ContactsContract {
// Line contains the query string - now search for it at the start of tokens.
List<String> lineTokens = new ArrayList<String>();
List<Integer> tokenOffsets = new ArrayList<Integer>();
split(contentLine.trim(), lineTokens, tokenOffsets);
split(contentLine, lineTokens, tokenOffsets);
// As we find matches against the query, we'll populate this list with the marked
// (or unchanged) tokens.