Merge "Refresh the cache on new package installation." into sc-dev am: 4819b5e984
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15217512 Change-Id: If6ee0e0ef2eeafbad94d87041ba6bcf9c902e3fb
This commit is contained in:
@@ -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*/);
|
||||
|
||||
Reference in New Issue
Block a user