mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-05 17:45:52 +01:00
removing register and class path overrides
This commit is contained in:
parent
e82c0754de
commit
881bb56b4d
@ -54,9 +54,6 @@ public class Androlib {
|
||||
public void decodeSourcesRaw(ExtFile apkFile, File outDir, boolean debug)
|
||||
throws AndrolibException {
|
||||
try {
|
||||
if (debug) {
|
||||
LOGGER.warning("Debug mode not available.");
|
||||
}
|
||||
Directory apk = apkFile.getDirectory();
|
||||
LOGGER.info("Copying raw classes.dex file...");
|
||||
apkFile.getDirectory().copyToDir(outDir, "classes.dex");
|
||||
|
@ -20,8 +20,6 @@ import brut.androlib.AndrolibException;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import org.jf.baksmali.baksmali;
|
||||
import org.jf.baksmali.main;
|
||||
import org.jf.dexlib.Code.Analysis.ClassPath;
|
||||
import org.jf.dexlib.DexFile;
|
||||
|
||||
/**
|
||||
@ -43,14 +41,11 @@ public class SmaliDecoder {
|
||||
}
|
||||
|
||||
private void decode() throws AndrolibException {
|
||||
if (mDebug) {
|
||||
ClassPath.dontLoadClassPath = true;
|
||||
}
|
||||
try {
|
||||
baksmali.disassembleDexFile(mApkFile.getAbsolutePath(),
|
||||
new DexFile(mApkFile), false, mOutDir.getAbsolutePath(),
|
||||
null, null, null, false, true, true, mBakDeb, false, false,
|
||||
mDebug ? main.DIFFPRE : 0, false, false, null, false);
|
||||
0, false, false, null, false);
|
||||
} catch (IOException ex) {
|
||||
throw new AndrolibException(ex);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user