summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorMark Brophy <mbrophy@google.com>2011-09-30 16:20:01 +0100
committerMark Brophy <mbrophy@google.com>2011-09-30 16:28:58 +0100
commit3e00e77f4cf82a5beaee0366807eb2941547a589 (patch)
tree2b52a47db5e2af599b718a50ad833c2a6a2959b7 /res/xml
parent66a27e4136288bef3ec0009574ebb6603b183818 (diff)
downloadpackages_apps_Contacts-3e00e77f4cf82a5beaee0366807eb2941547a589.tar.gz
packages_apps_Contacts-3e00e77f4cf82a5beaee0366807eb2941547a589.tar.bz2
packages_apps_Contacts-3e00e77f4cf82a5beaee0366807eb2941547a589.zip
Set query after zero results.
This way we'll still be queried while the user is entering a phone number, so we can present the call/add to contacts options once the phone number is valid. Bug: 5396858 Change-Id: I742934c93673a6cfc4e1d276a26be8b382f7d69c
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/searchable.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/res/xml/searchable.xml b/res/xml/searchable.xml
index 17ef37fba..949ec36e8 100644
--- a/res/xml/searchable.xml
+++ b/res/xml/searchable.xml
@@ -25,6 +25,7 @@
android:searchMode="queryRewriteFromText"
android:includeInGlobalSearch="true"
+ android:queryAfterZeroResults="true"
android:searchSuggestAuthority="com.android.contacts"
android:searchSuggestIntentAction="android.provider.Contacts.SEARCH_SUGGESTION_CLICKED"
android:searchSuggestIntentData="content://com.android.contacts/contacts/lookup"