mirror of
https://github.com/revanced/ARSCLib.git
synced 2025-05-04 08:04:25 +02:00
force compression of classes.dex on merge
This commit is contained in:
parent
cd481f2e19
commit
47e9d4667a
@ -623,6 +623,7 @@ public class ApkModule implements ApkFile {
|
||||
}
|
||||
}
|
||||
private void mergeDexFiles(ApkModule module){
|
||||
UncompressedFiles uncompressedFiles=module.getUncompressedFiles();
|
||||
List<DexFileInputSource> existList=listDexFiles();
|
||||
List<DexFileInputSource> comingList=module.listDexFiles();
|
||||
APKArchive archive=getApkArchive();
|
||||
@ -636,6 +637,7 @@ public class ApkModule implements ApkFile {
|
||||
}
|
||||
}
|
||||
for(DexFileInputSource source:comingList){
|
||||
uncompressedFiles.removePath(source.getAlias());
|
||||
String name= DexFileInputSource.getDexName(index);
|
||||
DexFileInputSource add=new DexFileInputSource(name, source.getInputSource());
|
||||
archive.add(add);
|
||||
|
Loading…
x
Reference in New Issue
Block a user