Merge "Fix bug for user removed case"

This commit is contained in:
Treehugger Robot
2022-10-18 20:41:08 +00:00
committed by Gerrit Code Review

View File

@@ -517,7 +517,6 @@ public class InternalResourceService extends SystemService {
removedPkgs.add(pkgInfo.packageName);
mUidToPackageCache.remove(pkgInfo.applicationInfo.uid);
mPkgCache.remove(i);
break;
}
}
mAgent.onUserRemovedLocked(userId, removedPkgs);