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

Commit 4c299e8f authored by Clark Scheff's avatar Clark Scheff Committed by Gerrit Code Review
Browse files

Merge "Revert "Send broadcast when package is 'about' to be removed"" into cm-11.0

parents 76a70590 012d3db5
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),