fix: properly record compression of non-main classes.dex files (#3584)

This commit is contained in:
Connor Tumbleson 2024-04-26 07:19:43 -04:00 committed by GitHub
parent 6436e7c090
commit a2df2541e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -275,6 +275,10 @@ public class ApkDecoder {
private boolean isAPKFileNames(String file) {
for (String apkFile : APK_STANDARD_ALL_FILENAMES) {
if (file.startsWith("classes") && file.endsWith(".dex")) {
return true;
}
if (apkFile.equals(file) || file.startsWith(apkFile + "/")) {
return true;
}