Skip to content

Commit 8406d05

Browse files
Dianne HackbornAndroid (Google) Code Review
authored andcommitted
Merge "New uninstall option to uninstall for all users." into jb-mr1-dev
2 parents 443e474 + 6d235d8 commit 8406d05

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

core/java/android/content/Intent.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1344,6 +1344,13 @@ public static Intent createChooser(Intent target, CharSequence title) {
13441344
@SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
13451345
public static final String ACTION_UNINSTALL_PACKAGE = "android.intent.action.UNINSTALL_PACKAGE";
13461346

1347+
/**
1348+
* Specify whether the package should be uninstalled for all users.
1349+
* @hide because these should not be part of normal application flow.
1350+
*/
1351+
public static final String EXTRA_UNINSTALL_ALL_USERS
1352+
= "android.intent.extra.UNINSTALL_ALL_USERS";
1353+
13471354
/**
13481355
* A string associated with a {@link #ACTION_UPGRADE_SETUP} activity
13491356
* describing the last run version of the platform that was setup.

0 commit comments

Comments
 (0)