diff options
author | calderwoodra <calderwoodra@google.com> | 2017-08-03 18:46:27 -0700 |
---|---|---|
committer | Eric Erfanian <erfanian@google.com> | 2017-08-04 10:48:36 -0700 |
commit | 9b83df629577464fad4f2c4b1e021cece8270c38 (patch) | |
tree | 8a4b61a3bfb133db226819772d3c1b998a8e1620 /Android.mk | |
parent | 911a90842eb6af7b4a8a6cc0d07329655eaef8c4 (diff) |
Updated new search filtering criteria to better match current implementation
There were two outstanding issues in the new search criteria:
- Contacts named "Brandon" would be filtered out by query "b"
- Contacts named "Bob" would NOT be filtered out by query "o"
This isn't how our current implementation of search worked and these issues are
resolved by this change by ignoring case sensitivity and doing suffix checks on
names instead of #contains checks.
Bug: 37209462
Test: QueryFilterUtilTest, SearchContactCursorTest
PiperOrigin-RevId: 164214145
Change-Id: I367ed0d862809d28491ae53e7dd8e1a24c824ec9
Diffstat (limited to 'Android.mk')
0 files changed, 0 insertions, 0 deletions