mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-26 03:37:33 +01:00
Merge pull request #1324 from jamestut/arscfix2
Skip additional payload data of TYPE chunk
This commit is contained in:
commit
81b22df13c
@ -154,6 +154,12 @@ public class ARSCDecoder {
|
|||||||
|
|
||||||
while (type == Header.TYPE_TYPE) {
|
while (type == Header.TYPE_TYPE) {
|
||||||
readTableType();
|
readTableType();
|
||||||
|
|
||||||
|
// skip "TYPE 8 chunks" and/or padding data at the end of this chunk
|
||||||
|
if(mCountIn.getCount() < mHeader.endPosition) {
|
||||||
|
mCountIn.skip(mHeader.endPosition - mCountIn.getCount());
|
||||||
|
}
|
||||||
|
|
||||||
type = nextChunk().type;
|
type = nextChunk().type;
|
||||||
|
|
||||||
addMissingResSpecs();
|
addMissingResSpecs();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user