Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6d235d82 authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

New uninstall option to uninstall for all users.

Change-Id: Ie8eb59564078069633a89fc8a92d4f8531baa1aa
parent b137c806
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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.