diff options
author | Dianne Hackborn <hackbod@google.com> | 2010-08-30 17:42:07 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2010-08-31 18:59:04 -0700 |
commit | 361199b5e742c6635d4d7a03de6cf37b31cf442c (patch) | |
tree | 170d0ba61242ba04a3491a98f894f3a2e416bbe7 /api | |
parent | 22cd420bfa431b4ad55e699afadf109dcc54f201 (diff) | |
download | frameworks_base-361199b5e742c6635d4d7a03de6cf37b31cf442c.zip frameworks_base-361199b5e742c6635d4d7a03de6cf37b31cf442c.tar.gz frameworks_base-361199b5e742c6635d4d7a03de6cf37b31cf442c.tar.bz2 |
Add PackageManager API to get information about a provider component.
Kind-of useful when all you have is a ComponentName.
Change-Id: I9a99f12daabb29e97e882e09c43ca0df70c00651
Diffstat (limited to 'api')
-rw-r--r-- | api/current.xml | 40 |
1 files changed, 37 insertions, 3 deletions
diff --git a/api/current.xml b/api/current.xml index 9bedb67..1305bad 100644 --- a/api/current.xml +++ b/api/current.xml @@ -48120,7 +48120,7 @@ deprecated="not deprecated" visibility="public" > -<parameter name="className" type="android.content.ComponentName"> +<parameter name="component" type="android.content.ComponentName"> </parameter> <parameter name="flags" type="int"> </parameter> @@ -48516,6 +48516,23 @@ <parameter name="flags" type="int"> </parameter> </method> +<method name="getProviderInfo" + return="android.content.pm.ProviderInfo" + abstract="true" + native="false" + synchronized="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +<parameter name="component" type="android.content.ComponentName"> +</parameter> +<parameter name="flags" type="int"> +</parameter> +<exception name="PackageManager.NameNotFoundException" type="android.content.pm.PackageManager.NameNotFoundException"> +</exception> +</method> <method name="getReceiverInfo" return="android.content.pm.ActivityInfo" abstract="true" @@ -48526,7 +48543,7 @@ deprecated="not deprecated" visibility="public" > -<parameter name="className" type="android.content.ComponentName"> +<parameter name="component" type="android.content.ComponentName"> </parameter> <parameter name="flags" type="int"> </parameter> @@ -48588,7 +48605,7 @@ deprecated="not deprecated" visibility="public" > -<parameter name="className" type="android.content.ComponentName"> +<parameter name="component" type="android.content.ComponentName"> </parameter> <parameter name="flags" type="int"> </parameter> @@ -158313,6 +158330,23 @@ <parameter name="flags" type="int"> </parameter> </method> +<method name="getProviderInfo" + return="android.content.pm.ProviderInfo" + abstract="false" + native="false" + synchronized="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +<parameter name="className" type="android.content.ComponentName"> +</parameter> +<parameter name="flags" type="int"> +</parameter> +<exception name="PackageManager.NameNotFoundException" type="android.content.pm.PackageManager.NameNotFoundException"> +</exception> +</method> <method name="getReceiverInfo" return="android.content.pm.ActivityInfo" abstract="false" |