fix wrong substring
The tokenOffsets is the offset from trimed contentLine. But it is used in substring as the offset from un-trimed contentLine. How to reproduce bug (ICS and before): 1. Add a contact record with name and a phone number (ex. 090-1111-2222) 2. Search by "0" in Contacts app 3. Contacts shows a wrong number something like "0900111102222" Change-Id: I1e1cb2f3bd135d98e1573a50aa6ddc021af35b9f
Loading
Please register or sign in to comment