Merge "Use the package name and not the library name" into sc-dev am: 6a0fa92399

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14776219

Change-Id: I14a48616f4c5590720bcd03e5010d1f22e64cc71
This commit is contained in:
Todd Kennedy
2021-06-02 15:11:06 +00:00
committed by Automerger Merge Worker

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;