1
0
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:
Jesse Vincent 2009-11-15 05:59:16 +00:00
parent eec4a96617
commit 6596fb901d

View File

@ -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(")");