Merge "New uninstall option to uninstall for all users." into jb-mr1-dev

This commit is contained in:
Dianne Hackborn
2012-09-16 18:29:58 -07:00
committed by Android (Google) Code Review

View File

@@ -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.