Revert changes to DexMaker

This commit is contained in:
solohsu 2019-01-22 22:33:04 +08:00
parent 5f26415bba
commit 7ec8e7ce69
2 changed files with 3 additions and 3 deletions

View File

@ -514,9 +514,9 @@ public final class DexMaker {
File result = new File(dexCache, generateFileName());
// Check that the file exists. If it does, return a DexClassLoader and skip all
// the dex bytecode generation.
// if (result.exists()) {
// return generateClassLoader(result, dexCache, parent);
// }
if (result.exists()) {
return generateClassLoader(result, dexCache, parent);
}
byte[] dex = generate();