Fix bug for user removed case
For user removed case, need to remove all data which is related with theremoved userId. Bug: N/A Test: N/A Change-Id: Icad92b86d37154134117a0c6035d95617df352d1 Merged-In: I400e2d9d3ec8b76a293856c44375bb1d302c530f
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user