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

Commit 74a2fe4f authored by Suprabh Shukla's avatar Suprabh Shukla
Browse files

Added a constant to be used as an Intent extra

Added a constant which can be specified to skip the uninstallation
confirmation dialog. Useful in cases where we want to show a different
warning message to the user before starting the UninstallerActivity

Change-Id: Ia87184a9ad715b628118feb447388625b8bf7f1c
parent 0b9e35ab
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -1574,6 +1574,14 @@ public class Intent implements Parcelable, Cloneable {
    public static final String EXTRA_UNINSTALL_ALL_USERS
            = "android.intent.extra.UNINSTALL_ALL_USERS";

    /**
     * Specified when the uninstall confirmation dialog is not required to be shown.
     * Use with {@link #ACTION_UNINSTALL_PACKAGE}
     * @hide
     */
    public static final String EXTRA_SKIP_UNINSTALL_CONFIRMATION =
            "android.intent.extra.SKIP_UNINSTALL_CONFIRMATION";

    /**
     * A string associated with a {@link #ACTION_UPGRADE_SETUP} activity
     * describing the last run version of the platform that was setup.