mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-24 02:12:15 -05:00
First pass attempt at fixing the "Android 2.0 breaks contacts lookup" issue
This commit is contained in:
parent
eec4a96617
commit
6596fb901d
@ -74,9 +74,9 @@ public class EmailAddressAdapter extends ResourceCursorAdapter {
|
||||
String filter = DatabaseUtils.sqlEscapeString(constraint.toString() + '%');
|
||||
|
||||
StringBuilder s = new StringBuilder();
|
||||
s.append("(people.name LIKE ");
|
||||
s.append("("+People.NAME+" LIKE ");
|
||||
s.append(filter);
|
||||
s.append(") OR (contact_methods.data LIKE ");
|
||||
s.append(") OR ("+ContactMethods.DATA+" LIKE ");
|
||||
s.append(filter);
|
||||
s.append(")");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user