Set includeInGlobalSearch in the Contacts app
This will allow removing the Contacts-specific code
from GlobalSearch.
diff --git a/res/xml/searchable.xml b/res/xml/searchable.xml
index cd9e6d6..f81a981 100644
--- a/res/xml/searchable.xml
+++ b/res/xml/searchable.xml
@@ -24,6 +24,7 @@
android:hint="@string/searchHint"
android:searchMode="queryRewriteFromText"
+ android:includeInGlobalSearch="true"
android:searchSuggestAuthority="contacts"
android:searchSuggestIntentAction="android.provider.Contacts.SEARCH_SUGGESTION_CLICKED"
android:searchSuggestIntentData="content://contacts/people"