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

Commit c3c34abc 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: 4efebd00 am: 06432766 am: 4b91a192

Change-Id: I4664ab5cbde7bc01e6e66da9a758aa52436ea2cc
parents 37984c47 4b91a192
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;