Merge "Use the package name and not the library name" into sc-dev

This commit is contained in:
Todd Kennedy
2021-06-02 14:47:21 +00:00
committed by Android (Google) Code Review

View File

@@ -13224,9 +13224,8 @@ public class PackageManagerService extends IPackageManager.Stub
if (!sharedLibraryInfo.isStatic()) { if (!sharedLibraryInfo.isStatic()) {
continue; continue;
} }
final PackageSetting staticLibPkgSetting = getPackageSetting( final PackageSetting staticLibPkgSetting =
toStaticSharedLibraryPackageName(sharedLibraryInfo.getName(), getPackageSetting(sharedLibraryInfo.getPackageName());
sharedLibraryInfo.getLongVersion()));
if (staticLibPkgSetting == null) { if (staticLibPkgSetting == null) {
Slog.wtf(TAG, "Shared lib without setting: " + sharedLibraryInfo); Slog.wtf(TAG, "Shared lib without setting: " + sharedLibraryInfo);
continue; continue;