fix(res): ignore version in AndroidManifest.xml (#1502)(PR #1504)

This commit is contained in:
CKCat
2022-05-30 21:10:10 +08:00
committed by GitHub
parent c906c11b0f
commit 9d88592391
@@ -89,7 +89,8 @@ public class BinaryXMLParser extends CommonBinaryParser {
is.mark(4);
int v = is.readInt16(); // version
int h = is.readInt16(); // header size
if (v == 0x0003 && h == 0x0008) {
// Some APK Manifest.xml the version is 0
if (h == 0x0008) {
return true;
}
is.reset();