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

Commit 49a88f66 authored by Alex Buynytskyy's avatar Alex Buynytskyy
Browse files

Refresh the cache on new package installation.

Bug: 189818162
Test: atest PackageManagerShellCommandIncrementalTest ResourcesHardeningTest#checkXmlAttributesRemote
Change-Id: I2082f2d75037c4513377f24546fbd7aec846983e
parent 527d6d6a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -6179,6 +6179,9 @@ public class PackageManagerService extends IPackageManager.Stub
        }
        if (succeeded) {
            // Clear the uid cache after we installed a new package.
            mPerUidReadTimeoutsCache = null;
            // Send the removed broadcasts
            if (res.removedInfo != null) {
                res.removedInfo.sendPackageRemovedBroadcasts(killApp, false /*removedBySystem*/);