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

Commit 618d74c5 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Detect system_ext provenance for APKs-in-APEX" am: 66fadd90

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

Change-Id: Ifcb331903339c3d890a08aa69d0cb5df7b5d0d27
parents b83ee72e 66fadd90
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -21918,7 +21918,7 @@ public class PackageManagerService extends IPackageManager.Stub
        for (int i = 0, size = SYSTEM_PARTITIONS.size(); i < size; i++) {
            ScanPartition sp = SYSTEM_PARTITIONS.get(i);
            if (apexInfo.preInstalledApexPath.getAbsolutePath().startsWith(
                    sp.getFolder().getAbsolutePath())) {
                    sp.getFolder().getAbsolutePath() + File.separator)) {
                return new ScanPartition(apexInfo.apexDirectory, sp, SCAN_AS_APK_IN_APEX);
            }
        }