diff options
author | krosaen <krosaen@android.com> | 2009-08-17 08:56:48 -0700 |
---|---|---|
committer | Karl Rosaen <krosaen@android.com> | 2009-08-18 08:56:03 -0700 |
commit | d2d6014f715f12f6263f61ba3eeb6f8cba6d0fa6 (patch) | |
tree | 6e075767b94546c6f0d6629587dd9a0204cef72e /api | |
parent | 1a8c1599de630ae4199b71cb3eca75d7db9c40d6 (diff) | |
download | frameworks_base-d2d6014f715f12f6263f61ba3eeb6f8cba6d0fa6.zip frameworks_base-d2d6014f715f12f6263f61ba3eeb6f8cba6d0fa6.tar.gz frameworks_base-d2d6014f715f12f6263f61ba3eeb6f8cba6d0fa6.tar.bz2 |
NEW API for SearchManager and Activity to 'triggerSearch'.
This is pretty much the same thing as startSearch, except it also launches the
query. We enforce that this can only be done for the package of the app that is
associated with the search mananger (e.g you can't trigger a contacts search
from anywhere).
Diffstat (limited to 'api')
-rw-r--r-- | api/current.xml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/api/current.xml b/api/current.xml index ca8d81f..b704eb3 100644 --- a/api/current.xml +++ b/api/current.xml @@ -16991,6 +16991,23 @@ <parameter name="get" type="boolean"> </parameter> </method> +<method name="triggerSearch" + return="void" + abstract="false" + native="false" + synchronized="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +<parameter name="query" type="java.lang.String"> +</parameter> +<parameter name="appSearchData" type="android.os.Bundle"> +</parameter> +<parameter name="globalSearch" type="boolean"> +</parameter> +</method> <method name="unregisterForContextMenu" return="void" abstract="false" @@ -23213,6 +23230,25 @@ visibility="public" > </method> +<method name="triggerSearch" + return="void" + abstract="false" + native="false" + synchronized="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +<parameter name="query" type="java.lang.String"> +</parameter> +<parameter name="launchActivity" type="android.content.ComponentName"> +</parameter> +<parameter name="appSearchData" type="android.os.Bundle"> +</parameter> +<parameter name="globalSearch" type="boolean"> +</parameter> +</method> <field name="ACTION_KEY" type="java.lang.String" transient="false" |