Merge "Compare against correct user id to determine static lib clients" into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
13eef357d6
@@ -18531,7 +18531,7 @@ public class PackageManagerService extends IPackageManager.Stub
|
|||||||
pkg.staticSharedLibVersion);
|
pkg.staticSharedLibVersion);
|
||||||
if (libEntry != null) {
|
if (libEntry != null) {
|
||||||
for (int currUserId : allUsers) {
|
for (int currUserId : allUsers) {
|
||||||
if (userId != UserHandle.USER_ALL && userId != currUserId) {
|
if (removeUser != UserHandle.USER_ALL && removeUser != currUserId) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
List<VersionedPackage> libClientPackages = getPackagesUsingSharedLibraryLPr(
|
List<VersionedPackage> libClientPackages = getPackagesUsingSharedLibraryLPr(
|
||||||
|
|||||||
Reference in New Issue
Block a user