mirror of
https://github.com/revanced/Apktool.git
synced 2025-06-12 05:07:41 +02:00
Extract into ApkInvoker and split into data classes. (#3124)
* extract AaptInvoker and rename MetaFile to ApkInfo, all decode methods from AndrolibResources moved to the ApkDecoder * extract ARSCData and FlagsOffset from ARSCDecoder and remove unused imports * rebase to master * move decodeManifest and decodeResources to the ResourceDecoder * remove commented old code
This commit is contained in:
@ -21,7 +21,6 @@ import brut.androlib.exceptions.AndrolibException;
|
||||
import brut.androlib.exceptions.CantFindFrameworkResException;
|
||||
import brut.androlib.exceptions.InFileNotFoundException;
|
||||
import brut.androlib.exceptions.OutDirExistsException;
|
||||
import brut.androlib.res.AndrolibResources;
|
||||
import brut.androlib.res.Framework;
|
||||
import brut.common.BrutException;
|
||||
import brut.directory.DirectoryException;
|
||||
@ -205,10 +204,6 @@ public class Main {
|
||||
} catch (DirectoryException ex) {
|
||||
System.err.println("Could not modify internal dex files. Please ensure you have permission.");
|
||||
System.exit(1);
|
||||
} finally {
|
||||
try {
|
||||
decoder.close();
|
||||
} catch (IOException ignored) {}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user