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

Commit 4a306894 authored by Todd Kennedy's avatar Todd Kennedy Committed by Android (Google) Code Review
Browse files

Merge "send broadcast to the right users" into oc-dev

parents a09111e7 4efa14c7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -13391,6 +13391,7 @@ public class PackageManagerService extends IPackageManager.Stub {
        final PackageRemovedInfo info = new PackageRemovedInfo();
        info.removedPackage = packageName;
        info.removedUsers = new int[] {userId};
        info.broadcastUsers = new int[] {userId};
        info.uid = UserHandle.getUid(userId, pkgSetting.appId);
        info.sendPackageRemovedBroadcasts(true /*killApp*/);
    }
@@ -18432,6 +18433,7 @@ public class PackageManagerService extends IPackageManager.Stub {
            outInfo.isStaticSharedLib = pkg != null && pkg.staticSharedLibName != null;
            outInfo.removedAppId = ps.appId;
            outInfo.removedUsers = userIds;
            outInfo.broadcastUsers = userIds;
        }
        return true;