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

Commit 192ed02d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "[pm] drop non-APK paths from LoadedApk makePath" into sc-dev am: 56b4df69

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

Change-Id: I865f029a39762914b5d94d0bddb0a1ec4276979b
parents 6a20a99d 56b4df69
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -546,6 +546,10 @@ public final class LoadedApk {
        if (aInfo.sharedLibraryFiles != null) {
            int index = 0;
            for (String lib : aInfo.sharedLibraryFiles) {
                // sharedLibraryFiles might contain native shared libraries that are not APK paths.
                if (!lib.endsWith(".apk")) {
                    continue;
                }
                if (!outSeenPaths.contains(lib) && !outZipPaths.contains(lib)) {
                    outZipPaths.add(index, lib);
                    index++;