mirror of
https://github.com/revanced/Apktool.git
synced 2024-06-06 05:16:39 +02:00
feat: allow instantiating with existing ApkInfo
This commit is contained in:
parent
019b2e648d
commit
c0900e50c5
|
@ -68,8 +68,12 @@ public class ApkDecoder {
|
|||
}
|
||||
|
||||
public ApkDecoder(Config config, ExtFile apkFile) {
|
||||
this(config, new ApkInfo(apkFile));
|
||||
}
|
||||
|
||||
public ApkDecoder(Config config, ApkInfo apkInfo) {
|
||||
mConfig = config;
|
||||
mApkInfo = new ApkInfo(apkFile);
|
||||
mApkInfo = apkInfo;
|
||||
}
|
||||
|
||||
public ApkInfo decode(File outDir) throws AndrolibException, IOException, DirectoryException {
|
||||
|
|
Loading…
Reference in New Issue
Block a user