summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorJin Cao <jinyan@google.com>2014-08-22 14:44:26 -0700
committerJin Cao <jinyan@google.com>2014-08-22 14:44:26 -0700
commitc926864e4b4c8d01aaa215253b79c79af98f6e09 (patch)
tree3240fd5fd169d7a308b025d7f5fb439a78f027bf /res
parent355e9dffc35fa9b3084a7f49ff985427fda2ea06 (diff)
downloadandroid_packages_apps_Email-c926864e4b4c8d01aaa215253b79c79af98f6e09.tar.gz
android_packages_apps_Email-c926864e4b4c8d01aaa215253b79c79af98f6e09.tar.bz2
android_packages_apps_Email-c926864e4b4c8d01aaa215253b79c79af98f6e09.zip
Remove default search for Email
b/17209360 Change-Id: I798139e5ab6f8cd29dde1dd475de17138330d8c5
Diffstat (limited to 'res')
-rw-r--r--res/values/strings.xml4
-rw-r--r--res/xml/searchable.xml25
2 files changed, 0 insertions, 29 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 0e05b1f4e..2e4346b4a 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -17,9 +17,6 @@
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Names of packages and authorities that are common to all apps
and read from resources -->
- <!-- Name of the search suggestions authority that looks up recent suggestions. This
- needs to be modified in AndroidManifest.xml and res/xml/searchable.xml as well. -->
- <string name="suggestions_authority" translatable="false">com.android.email.suggestionsprovider</string>
<!-- Permissions label for reading attachments -->
<string name="permission_read_attachment_label">Read email attachments</string>
@@ -799,7 +796,6 @@
<string name="authority_email_provider" translatable="false">com.android.email.provider</string>
<string name="authority_conversation_provider" translatable="false">com.android.email.conversation.provider</string>
<string name="authority_account_cache_provider" translatable="false">com.android.email.accountcache</string>
- <string name="authority_suggestions_provider" translatable="false">com.android.email.suggestionsprovider</string>
<string name="protocol_legacy_imap" translatable="false">imap</string>
<string name="protocol_imap" translatable="false">imap</string>
<string name="protocol_pop3" translatable="false">pop3</string>
diff --git a/res/xml/searchable.xml b/res/xml/searchable.xml
deleted file mode 100644
index be8da67ea..000000000
--- a/res/xml/searchable.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (C) 2012 Google Inc.
- Licensed to 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/search_title"
- android:hint="@string/search_hint"
- android:icon="@drawable/ic_menu_search"
- android:searchSuggestAuthority="com.android.email.suggestionsprovider"
- android:searchSuggestSelection="query LIKE ?"
- android:searchSuggestIntentAction="android.intent.action.SEARCH"
- android:imeOptions="actionSearch" />