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()) {
continue;
}
final PackageSetting staticLibPkgSetting = getPackageSetting(
toStaticSharedLibraryPackageName(sharedLibraryInfo.getName(),
sharedLibraryInfo.getLongVersion()));
final PackageSetting staticLibPkgSetting =
getPackageSetting(sharedLibraryInfo.getPackageName());
if (staticLibPkgSetting == null) {
Slog.wtf(TAG, "Shared lib without setting: " + sharedLibraryInfo);
continue;