From 6d235d8265a45bbc56c058ca1a9eca4eff69636a Mon Sep 17 00:00:00 2001 From: Dianne Hackborn Date: Sun, 16 Sep 2012 18:25:40 -0700 Subject: [PATCH] New uninstall option to uninstall for all users. Change-Id: Ie8eb59564078069633a89fc8a92d4f8531baa1aa --- core/java/android/content/Intent.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java index fad3e10703a9c..d3b8648f5d592 100644 --- a/core/java/android/content/Intent.java +++ b/core/java/android/content/Intent.java @@ -1344,6 +1344,13 @@ public class Intent implements Parcelable, Cloneable { @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION) public static final String ACTION_UNINSTALL_PACKAGE = "android.intent.action.UNINSTALL_PACKAGE"; + /** + * Specify whether the package should be uninstalled for all users. + * @hide because these should not be part of normal application flow. + */ + public static final String EXTRA_UNINSTALL_ALL_USERS + = "android.intent.extra.UNINSTALL_ALL_USERS"; + /** * A string associated with a {@link #ACTION_UPGRADE_SETUP} activity * describing the last run version of the platform that was setup.