Skip to content

Commit

Permalink
fix(res): ignore version in AndroidManifest.xml (#1502)(PR #1504)
Browse files Browse the repository at this point in the history
  • Loading branch information
CKCat committed May 30, 2022
1 parent c906c11 commit 9d88592
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ private boolean isBinaryXml() throws IOException {
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();
Expand Down

0 comments on commit 9d88592

Please sign in to comment.