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

Commit 012d3db5 authored by Clark Scheff's avatar Clark Scheff
Browse files

Revert "Send broadcast when package is 'about' to be removed"

This reverts commit 238e80a5.
This was a band-aid that is being fixed in a future commit.

Change-Id: I89a928e2fd9cff2b1992a6e85eb5c96c5b8b9b0e
parent 99506226
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -2674,14 +2674,6 @@ public class Intent implements Parcelable, Cloneable {
     */
    public static final String ACTION_GLOBAL_BUTTON = "android.intent.action.GLOBAL_BUTTON";

    /**
     * Broadcast Action: let apps know when a package is going to be removed.  This is useful
     * for switching to default theme if the package being removed is the current applied theme.
     * @hide
     */
    public static final String ACTION_PACKAGE_BEING_REMOVED =
            "android.intent.action.PACKAGE_BEING_REMOVED";

    /**
     * Activity Action: Allow the user to select and return one or more existing
     * documents. When invoked, the system will display the various
+0 −2
Original line number Diff line number Diff line
@@ -10099,8 +10099,6 @@ public class PackageManagerService extends IPackageManager.Stub {
        synchronized (mInstallLock) {
            if (DEBUG_REMOVE) Slog.d(TAG, "deletePackageX: pkg=" + packageName + " user=" + userId);
            sendPackageBroadcast(Intent.ACTION_PACKAGE_BEING_REMOVED, packageName, null,
                    null, null, null, null);
            res = deletePackageLI(packageName,
                    (flags & PackageManager.DELETE_ALL_USERS) != 0
                            ? UserHandle.ALL : new UserHandle(userId),