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

Commit d51fd91f authored by Nicolas Geoffray's avatar Nicolas Geoffray
Browse files

When a dex file is loaded with different contexts, dexopt with "verify".

vdex files can now be used independently of class loader contexts.

Test: m
Bug: 176960283
Change-Id: I9abaa769363d169de683b8aa2521098026a6f2ad
parent 1f4ac9e0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -489,9 +489,9 @@ public class PackageDexOptimizer {
        String classLoaderContext = null;
        if (dexUseInfo.isUnsupportedClassLoaderContext()
                || dexUseInfo.isVariableClassLoaderContext()) {
            // If we have an unknown (not yet set), or a variable class loader chain. Just extract
            // If we have an unknown (not yet set), or a variable class loader chain. Just verify
            // the dex file.
            compilerFilter = "extract";
            compilerFilter = "verify";
        } else {
            classLoaderContext = dexUseInfo.getClassLoaderContext();
        }