diff options
author | Mathew Inwood <mathewi@google.com> | 2013-09-30 15:48:28 +0100 |
---|---|---|
committer | Mathew Inwood <mathewi@google.com> | 2013-09-30 15:48:28 +0100 |
commit | 700d3693ff7c731ec5a79b54a9cc4a11f9a1c8f5 (patch) | |
tree | ab6fdf1eeb002427c066aa53528ae11d2403b506 /res/xml | |
parent | 9642118876826e64a82b54bb6012c88f725a820c (diff) | |
download | packages_apps_Contacts-700d3693ff7c731ec5a79b54a9cc4a11f9a1c8f5.tar.gz packages_apps_Contacts-700d3693ff7c731ec5a79b54a9cc4a11f9a1c8f5.tar.bz2 packages_apps_Contacts-700d3693ff7c731ec5a79b54a9cc4a11f9a1c8f5.zip |
Revert "Remove searchable metadata."
We are not deprecating the global search API in this release, so we
should keep this for now.
Bug: 10487397
Diffstat (limited to 'res/xml')
-rw-r--r-- | res/xml/searchable.xml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/res/xml/searchable.xml b/res/xml/searchable.xml new file mode 100644 index 000000000..3d6876ebc --- /dev/null +++ b/res/xml/searchable.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2008 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<searchable xmlns:android="http://schemas.android.com/apk/res/android" + android:label="@string/contactsList" + android:hint="@string/searchHint" + 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" + android:searchSettingsDescription="@string/search_settings_description" +> +</searchable> |