* commit 'd820c38d21c4c6f931785945a36cc82269f63694': fix wrong substring
This commit is contained in:
2
core/java/android/provider/ContactsContract.java
Normal file → Executable file
2
core/java/android/provider/ContactsContract.java
Normal file → Executable file
@@ -8362,7 +8362,7 @@ public final class ContactsContract {
|
|||||||
// Line contains the query string - now search for it at the start of tokens.
|
// Line contains the query string - now search for it at the start of tokens.
|
||||||
List<String> lineTokens = new ArrayList<String>();
|
List<String> lineTokens = new ArrayList<String>();
|
||||||
List<Integer> tokenOffsets = new ArrayList<Integer>();
|
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
|
// As we find matches against the query, we'll populate this list with the marked
|
||||||
// (or unchanged) tokens.
|
// (or unchanged) tokens.
|
||||||
|
|||||||
Reference in New Issue
Block a user