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

Commit 238bce98 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Add /apex to the list of allowed SystemServer paths" into rvc-dev am:...

Merge "Add /apex to the list of allowed SystemServer paths" into rvc-dev am: 55815db1 am: 751c69b1

Change-Id: I494f1bf2753fa747be049999b776d5b05d47a118
parents a5b0c17a 751c69b1
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -232,6 +232,10 @@ public class DexManager {
    private boolean isSystemServerDexPathSupportedForOdex(String dexPath) {
        ArrayList<PackagePartitions.SystemPartition> partitions =
                PackagePartitions.getOrderedPartitions(identity());
        // First check the apex partition as it's not part of the SystemPartitions.
        if (dexPath.startsWith("/apex/")) {
            return true;
        }
        for (int i = 0; i < partitions.size(); i++) {
            if (partitions.get(i).containsPath(dexPath)) {
                return true;