Merge "Compare against correct user id to determine static lib clients" into oc-dev

am: 13eef357d6

Change-Id: I94d6ec64d861a687d4bda6ef900d092c3401bc03
This commit is contained in:
Svet Ganov
2017-05-31 00:58:25 +00:00
committed by android-build-merger

View File

@@ -18548,7 +18548,7 @@ public class PackageManagerService extends IPackageManager.Stub
pkg.staticSharedLibVersion);
if (libEntry != null) {
for (int currUserId : allUsers) {
if (userId != UserHandle.USER_ALL && userId != currUserId) {
if (removeUser != UserHandle.USER_ALL && removeUser != currUserId) {
continue;
}
List<VersionedPackage> libClientPackages = getPackagesUsingSharedLibraryLPr(