commit | 08bab56f687a354a436925ec44567da434c10cbb | [log] [tgz] |
---|---|---|
author | Masanori Ogino <ogino.masanori@sharp.co.jp> | Thu Aug 23 14:06:45 2012 +0900 |
committer | Masanori Ogino <ogino.masanori@sharp.co.jp> | Thu Aug 23 14:06:45 2012 +0900 |
tree | a54f103523ddc374bbe248724047f5fb9df030a0 | |
parent | 9f7fa4c4177c405566445760ec7f4c27e812cd7f [diff] |
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