Fixes http://b/issue?id=1905863 This is needed to address two security issues with global search: http://b/issue?id=1871088 (Apps can read content providers through GlobalSearch) http://b/issue?id=1819627 (Apps can use GlobalSearch to launch arbirtrary intents) This also fixes http://b/issue?id=1693153 (SearchManager.OnDismissListener never gets called) To fix the security issues, GlobalSearch also needs to require a non-app permission to access its content provider and launch intents.
26 lines
1.0 KiB
XML
26 lines
1.0 KiB
XML
<?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/searchable_label"
|
|
android:hint="@string/searchable_hint"
|
|
android:searchSuggestAuthority="com.android.unit_tests.SuggestionProvider"
|
|
>
|
|
|
|
<actionkey android:keycode="KEYCODE_CALL"
|
|
android:suggestActionMsgColumn="suggest_action_msg_call" />
|
|
|
|
</searchable> |