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

Commit 53667488 authored by Sumedh Sen's avatar Sumedh Sen Committed by Android (Google) Code Review
Browse files

Merge "Dont sent broadcast to all users when uninstalling an updated system app" into main

parents f6acf826 868b9fd6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -461,7 +461,7 @@ final class DeletePackageHelper {

        final int userId = user == null ? UserHandle.USER_ALL : user.getIdentifier();
        // Remember which users are affected, before the installed states are modified
        outInfo.mRemovedUsers = (systemApp || userId == UserHandle.USER_ALL)
        outInfo.mRemovedUsers = userId == UserHandle.USER_ALL
                ? ps.queryUsersInstalledOrHasData(allUserHandles)
                : new int[]{userId};
        outInfo.populateBroadcastUsers(ps);