Add search suggestions to Email
Change-Id: I6e25aa841af1350782f680c68d4bbe913cd88964
This commit is contained in:
parent
735a837914
commit
69f44be729
@ -249,6 +249,13 @@
|
|||||||
<grant-uri-permission android:pathPattern=".*" />
|
<grant-uri-permission android:pathPattern=".*" />
|
||||||
</provider>
|
</provider>
|
||||||
|
|
||||||
|
<!-- The android:name is the name of the Provider class which is stored in
|
||||||
|
UnifiedEmail, and has package name com.android.mail.providers and the class is
|
||||||
|
called SuggestionsProvider. It declares an authority which looks up package name
|
||||||
|
at runtime with getContext().getPackageName() and adds ".SuggestionsProvider" to it. -->
|
||||||
|
<provider android:name="com.android.mail.providers.SuggestionsProvider"
|
||||||
|
android:authorities="com.android.email.SuggestionsProvider" />
|
||||||
|
|
||||||
<receiver android:name="com.android.mail.providers.protos.boot.AccountReceiver">
|
<receiver android:name="com.android.mail.providers.protos.boot.AccountReceiver">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="com.android.email2.providers.protos.boot.intent.ACTION_PROVIDER_CREATED" />
|
<action android:name="com.android.email2.providers.protos.boot.intent.ACTION_PROVIDER_CREATED" />
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
android:label="@string/search_title"
|
android:label="@string/search_title"
|
||||||
android:hint="@string/search_hint"
|
android:hint="@string/search_hint"
|
||||||
android:icon="@drawable/ic_menu_search_holo_light"
|
android:icon="@drawable/ic_menu_search_holo_light"
|
||||||
|
android:searchSuggestAuthority="com.android.email.SuggestionsProvider"
|
||||||
|
android:searchSuggestSelection="query LIKE ?"
|
||||||
android:searchSuggestIntentAction="android.intent.action.SEARCH"
|
android:searchSuggestIntentAction="android.intent.action.SEARCH"
|
||||||
android:imeOptions="actionSearch"
|
android:imeOptions="actionSearch" />
|
||||||
android:searchSuggestSelection="query LIKE ?" />
|
|
||||||
|
Loading…
Reference in New Issue
Block a user