Merge "Refresh the cache on new package installation." into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
4819b5e984
@@ -6179,6 +6179,9 @@ public class PackageManagerService extends IPackageManager.Stub
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (succeeded) {
|
if (succeeded) {
|
||||||
|
// Clear the uid cache after we installed a new package.
|
||||||
|
mPerUidReadTimeoutsCache = null;
|
||||||
|
|
||||||
// Send the removed broadcasts
|
// Send the removed broadcasts
|
||||||
if (res.removedInfo != null) {
|
if (res.removedInfo != null) {
|
||||||
res.removedInfo.sendPackageRemovedBroadcasts(killApp, false /*removedBySystem*/);
|
res.removedInfo.sendPackageRemovedBroadcasts(killApp, false /*removedBySystem*/);
|
||||||
|
|||||||
Reference in New Issue
Block a user