summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike LeBeau <mlebeau@android.com>2009-06-30 18:26:21 -0700
committerMike LeBeau <mlebeau@android.com>2009-06-30 18:26:21 -0700
commitf763e8f42df8e99b84420c80eaff24b3573ff0bc (patch)
tree6171508b99ea7e11e217ee02a8e378445e6d59e3
parentf9eca3d43aed870774633a176aa691d3e530a12b (diff)
downloadframeworks_base-f763e8f42df8e99b84420c80eaff24b3573ff0bc.zip
frameworks_base-f763e8f42df8e99b84420c80eaff24b3573ff0bc.tar.gz
frameworks_base-f763e8f42df8e99b84420c80eaff24b3573ff0bc.tar.bz2
Add new attribute 'searchSettingsDescription' for use within an app's
searchable.xml. This attribute defines the string to be shown as the description a searchable in the 'searchable items' section of system search settings.
-rw-r--r--api/current.xml22
-rw-r--r--core/res/res/values/attrs.xml5
-rw-r--r--core/res/res/values/public.xml1
3 files changed, 17 insertions, 11 deletions
diff --git a/api/current.xml b/api/current.xml
index 1287f59..7faca03 100644
--- a/api/current.xml
+++ b/api/current.xml
@@ -3408,17 +3408,6 @@
visibility="public"
>
</field>
-<field name="donut_resource_pad22"
- type="int"
- transient="false"
- volatile="false"
- value="16843402"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
<field name="donut_resource_pad3"
type="int"
transient="false"
@@ -7302,6 +7291,17 @@
visibility="public"
>
</field>
+<field name="searchSettingsDescription"
+ type="int"
+ transient="false"
+ volatile="false"
+ value="16843402"
+ static="true"
+ final="true"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</field>
<field name="searchSuggestAuthority"
type="int"
transient="false"
diff --git a/core/res/res/values/attrs.xml b/core/res/res/values/attrs.xml
index 3e93b02..10308b6 100644
--- a/core/res/res/values/attrs.xml
+++ b/core/res/res/values/attrs.xml
@@ -2879,6 +2879,11 @@
results for "bo", it would not be queried again for "bob".
The default value is <code>false</code>. <i>Optional attribute.</i>. -->
<attr name="queryAfterZeroResults" format="boolean" />
+
+ <!-- If provided, this string will be used to describe the searchable item in the
+ searchable items settings within system search settings. <i>Optional
+ attribute.</i> -->
+ <attr name="searchSettingsDescription" format="string" />
</declare-styleable>
diff --git a/core/res/res/values/public.xml b/core/res/res/values/public.xml
index 2121669..148935f 100644
--- a/core/res/res/values/public.xml
+++ b/core/res/res/values/public.xml
@@ -1123,6 +1123,7 @@
<public type="attr" name="progressBarStyleInverse" />
<public type="attr" name="progressBarStyleSmallInverse" />
<public type="attr" name="progressBarStyleLargeInverse" />
+ <public type="attr" name="searchSettingsDescription" />
<public-padding type="attr" name="donut_resource_pad" end="0x0101029f" />