diff options
Diffstat (limited to 'src/com/android/providers/contacts/GlobalSearchSupport.java')
-rw-r--r-- | src/com/android/providers/contacts/GlobalSearchSupport.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/providers/contacts/GlobalSearchSupport.java b/src/com/android/providers/contacts/GlobalSearchSupport.java index 38132e2..b5739bd 100644 --- a/src/com/android/providers/contacts/GlobalSearchSupport.java +++ b/src/com/android/providers/contacts/GlobalSearchSupport.java @@ -19,6 +19,7 @@ package com.android.providers.contacts; import com.android.providers.contacts.ContactsDatabaseHelper.AggregatedPresenceColumns; import com.android.providers.contacts.ContactsDatabaseHelper.ContactsColumns; import com.android.providers.contacts.ContactsDatabaseHelper.Tables; +import com.android.providers.contacts.ContactsDatabaseHelper.Views; import android.app.SearchManager; import android.content.res.Resources; @@ -291,7 +292,7 @@ public class GlobalSearchSupport { sb.append(", " + SearchSnippetColumns.SNIPPET); } sb.append(" FROM "); - sb.append(getDatabaseHelper().getContactView(false)); + sb.append(Views.CONTACTS); sb.append(" AS contacts"); if (haveFilter) { mContactsProvider.appendSearchIndexJoin(sb, filter, true, |