summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
authorJohn Wu <topjohnwu@google.com>2022-03-08 15:19:26 -0800
committerJohn Wu <topjohnwu@google.com>2022-03-18 00:04:24 +0000
commita2755c7fc3fa1f03fd8a0f08069910dd91ecb8fb (patch)
tree5180ea1ff1a0c06c1b9d1d260168f1423880c7f8 /core/java/android
parentec56282d41cd2ee40ce40fda21e8beb8ed21e24b (diff)
Remove all appId migration related public APIs
These APIs should be removed from the platform and SDK to prevent confusion from the ecosystem. Test: m Bug: 220015249 Change-Id: I019b2594803d44745846ac7d56ad36c342c0c5ba
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/content/Intent.java26
1 files changed, 0 insertions, 26 deletions
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java
index 2c207bc90444..a50ff3841da9 100644
--- a/core/java/android/content/Intent.java
+++ b/core/java/android/content/Intent.java
@@ -5987,22 +5987,6 @@ public class Intent implements Parcelable, Cloneable {
public static final String EXTRA_UID = "android.intent.extra.UID";
/**
- * Used as an optional int extra field in {@link android.content.Intent#ACTION_PACKAGE_ADDED}
- * intents to supply the previous uid the package had been assigned.
- * This would only be set when a package is leaving sharedUserId in an upgrade, or when a
- * system app upgrade that had left sharedUserId is getting uninstalled.
- */
- public static final String EXTRA_PREVIOUS_UID = "android.intent.extra.PREVIOUS_UID";
-
- /**
- * Used as an optional int extra field in {@link android.content.Intent#ACTION_PACKAGE_REMOVED}
- * intents to supply the new uid the package will be assigned.
- * This would only be set when a package is leaving sharedUserId in an upgrade, or when a
- * system app upgrade that had left sharedUserId is getting uninstalled.
- */
- public static final String EXTRA_NEW_UID = "android.intent.extra.NEW_UID";
-
- /**
* @hide String array of package names.
*/
@SystemApi
@@ -6034,16 +6018,6 @@ public class Intent implements Parcelable, Cloneable {
public static final String EXTRA_REPLACING = "android.intent.extra.REPLACING";
/**
- * Used as a boolean extra field in {@link android.content.Intent#ACTION_PACKAGE_REMOVED},
- * {@link android.content.Intent#ACTION_UID_REMOVED}, and
- * {@link android.content.Intent#ACTION_PACKAGE_ADDED}
- * intents to indicate that this package is changing its UID.
- * This would only be set when a package is leaving sharedUserId in an upgrade, or when a
- * system app upgrade that had left sharedUserId is getting uninstalled.
- */
- public static final String EXTRA_UID_CHANGING = "android.intent.extra.UID_CHANGING";
-
- /**
* Used as an int extra field in {@link android.app.AlarmManager} pending intents
* to tell the application being invoked how many pending alarms are being
* delivered with the intent. For one-shot alarms this will always be 1.