From 69f44be729e83e56180ce84d1bfa6985d06f461c Mon Sep 17 00:00:00 2001 From: Vikram Aggarwal Date: Wed, 28 Mar 2012 16:40:38 -0700 Subject: [PATCH] Add search suggestions to Email Change-Id: I6e25aa841af1350782f680c68d4bbe913cd88964 --- email2/AndroidManifest.xml | 7 +++++++ email2/res/xml/searchable.xml | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/email2/AndroidManifest.xml b/email2/AndroidManifest.xml index 29f4c5619..27f8bb620 100644 --- a/email2/AndroidManifest.xml +++ b/email2/AndroidManifest.xml @@ -249,6 +249,13 @@ + + + diff --git a/email2/res/xml/searchable.xml b/email2/res/xml/searchable.xml index 66a07c272..3fe25a854 100644 --- a/email2/res/xml/searchable.xml +++ b/email2/res/xml/searchable.xml @@ -19,6 +19,7 @@ android:label="@string/search_title" android:hint="@string/search_hint" 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:imeOptions="actionSearch" - android:searchSuggestSelection="query LIKE ?" /> + android:imeOptions="actionSearch" />