mirror of
https://github.com/revanced/Apktool.git
synced 2024-11-16 17:39:24 +01:00
Fixes issue #1122
This commit is contained in:
parent
47076ebaba
commit
22bd5b0acc
@ -171,9 +171,11 @@ public class Androlib {
|
|||||||
if (isAPKFileNames(file) && !NO_COMPRESS_PATTERN.matcher(file).find()) {
|
if (isAPKFileNames(file) && !NO_COMPRESS_PATTERN.matcher(file).find()) {
|
||||||
if (unk.getCompressionLevel(file) == 0) {
|
if (unk.getCompressionLevel(file) == 0) {
|
||||||
ext = FilenameUtils.getExtension(file);
|
ext = FilenameUtils.getExtension(file);
|
||||||
|
if (ext.isEmpty()) {
|
||||||
|
ext = file;
|
||||||
|
}
|
||||||
if (! uncompressedExtensions.contains(ext)) {
|
if (! uncompressedExtensions.contains(ext)) {
|
||||||
uncompressedExtensions.add(FilenameUtils.getExtension(file));
|
uncompressedExtensions.add(ext);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user