Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d46ef183 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Use KNOWN_PACKAGES when shared lib consumers am: 08315953 am: e5808434

Change-Id: I64af9ee49999f2de11f1a6779e116357649f63b2
parents 3e28284f e5808434
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -19589,7 +19589,7 @@ public class PackageManagerService extends IPackageManager.Stub
                            continue;
                        }
                        List<VersionedPackage> libClientPackages = getPackagesUsingSharedLibraryLPr(
                                libEntry.info, 0, currUserId);
                                libEntry.info, MATCH_KNOWN_PACKAGES, currUserId);
                        if (!ArrayUtils.isEmpty(libClientPackages)) {
                            Slog.w(TAG, "Not removing package " + pkg.manifestPackageName
                                    + " hosting lib " + libEntry.info.getName() + " version "
@@ -24880,8 +24880,9 @@ Slog.v(TAG, ":: stepped forward, applying functor at tag " + parser.getName());
                continue;
            }
            final String packageName = ps.pkg.packageName;
            // Skip over if system app
            if ((ps.pkgFlags & ApplicationInfo.FLAG_SYSTEM) != 0) {
            // Skip over if system app or static shared library
            if ((ps.pkgFlags & ApplicationInfo.FLAG_SYSTEM) != 0
                    || !TextUtils.isEmpty(ps.pkg.staticSharedLibName)) {
                continue;
            }
            if (DEBUG_CLEAN_APKS) {