summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2010-02-11 15:57:09 -0800
committerDianne Hackborn <hackbod@google.com>2010-02-11 20:02:20 -0800
commit470969346d7958f859d97d1a136b4ecc11e2a464 (patch)
treec9c1ec33c9b3dd2463ffa4b7704cd87e1a12ca9c /api
parentb509065a586d11e6800373d0a57f5296428f2d89 (diff)
downloadframeworks_base-470969346d7958f859d97d1a136b4ecc11e2a464.zip
frameworks_base-470969346d7958f859d97d1a136b4ecc11e2a464.tar.gz
frameworks_base-470969346d7958f859d97d1a136b4ecc11e2a464.tar.bz2
Add APIs for mapping between new and current package names.
This will allow Market and others to find out what the "real" name of a package is, when it is currently running under the old name of a previously installed version.
Diffstat (limited to 'api')
-rw-r--r--api/current.xml52
1 files changed, 52 insertions, 0 deletions
diff --git a/api/current.xml b/api/current.xml
index d3ec86a..08c956e 100644
--- a/api/current.xml
+++ b/api/current.xml
@@ -43257,6 +43257,19 @@
<parameter name="activity" type="android.content.ComponentName">
</parameter>
</method>
+<method name="canonicalToCurrentPackageNames"
+ return="java.lang.String[]"
+ abstract="true"
+ native="false"
+ synchronized="false"
+ static="false"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+<parameter name="names" type="java.lang.String[]">
+</parameter>
+</method>
<method name="checkPermission"
return="int"
abstract="true"
@@ -43315,6 +43328,19 @@
<parameter name="packageName" type="java.lang.String">
</parameter>
</method>
+<method name="currentToCanonicalPackageNames"
+ return="java.lang.String[]"
+ abstract="true"
+ native="false"
+ synchronized="false"
+ static="false"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+<parameter name="names" type="java.lang.String[]">
+</parameter>
+</method>
<method name="getActivityIcon"
return="android.graphics.drawable.Drawable"
abstract="true"
@@ -145995,6 +146021,19 @@
<parameter name="activity" type="android.content.ComponentName">
</parameter>
</method>
+<method name="canonicalToCurrentPackageNames"
+ return="java.lang.String[]"
+ abstract="false"
+ native="false"
+ synchronized="false"
+ static="false"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+<parameter name="names" type="java.lang.String[]">
+</parameter>
+</method>
<method name="checkPermission"
return="int"
abstract="false"
@@ -146053,6 +146092,19 @@
<parameter name="packageName" type="java.lang.String">
</parameter>
</method>
+<method name="currentToCanonicalPackageNames"
+ return="java.lang.String[]"
+ abstract="false"
+ native="false"
+ synchronized="false"
+ static="false"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+<parameter name="names" type="java.lang.String[]">
+</parameter>
+</method>
<method name="getActivityIcon"
return="android.graphics.drawable.Drawable"
abstract="false"