Merge "When a dex file is loaded with different contexts, dexopt with "verify"." am: 222b1e4ad7 am: 64c20457e2 am: 939a1ea148
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1660361 Change-Id: I7144b96ad4887ea46a04eedc604421688295fee8
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user