Bjorn Bringert 8d17f3f24b Run search dialog in the system process.
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.
2009-06-15 09:05:26 +01:00

58 lines
2.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 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.
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="permlab_testGranted">Test Granted</string>
<string name="permdesc_testGranted">Used for running unit tests, for
testing operations where we have the permission.</string>
<string name="permlab_testDenied">Test Denied</string>
<string name="permdesc_testDenied">Used for running unit tests, for
testing operations where we do not have the permission.</string>
<string name="layout_five_text_text">S</string>
<string name="layout_four_text_text">S</string>
<string name="layout_six_text_text">S</string>
<string name="coerceIntegerToString">100</string>
<string name="coerceBooleanToString">true</string>
<string name="coerceColorToString">#fff</string>
<string name="coerceFloatToString">100.0</string>
<string name="coerceDimensionToString">100px</string>
<string name="coerceFractionToString">100<xliff:g id="percent">%</xliff:g></string>
<string name="formattedStringNone">Format[]</string>
<string name="formattedStringOne">Format[<xliff:g id="format">%d</xliff:g>]</string>
<string name="formattedStringTwo">Format[<xliff:g id="format">%3$d,%2$s</xliff:g>]</string>
<string name="reference">here</string>
<string name="metadata_text">text</string>
<string name="menu_test">test</string>
<plurals name="plurals_test">
<item quantity="one">A dog</item>
<item quantity="other">Some dogs</item>
</plurals>
<string name="searchable_label">SearchManager Test</string>
<string name="searchable_hint">A search hint</string>
<!-- <string name="layout_six_text_text">F</string> -->
</resources>