diff --git a/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/ARSCDecoder.java b/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/ARSCDecoder.java index 2ca86d8c..fe6973c8 100644 --- a/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/ARSCDecoder.java +++ b/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/ARSCDecoder.java @@ -134,6 +134,9 @@ public class ARSCDecoder { case Header.XML_TYPE_SPEC_TYPE: readTableTypeSpec(); break; + case Header.XML_TYPE_STAGED_ALIAS: + readStagedAliasSpec(); + break; default: flag = false; break; @@ -161,6 +164,17 @@ public class ARSCDecoder { } } + private void readStagedAliasSpec() throws IOException { + int count = mIn.readInt(); + + for (int i = 0; i < count; i++) { + /* stagedResId */mIn.skipInt(); + /* finalizedResId */mIn.skipInt(); + } + + nextChunk(); + } + private void readTableTypeSpec() throws AndrolibException, IOException { mTypeSpec = readSingleTableTypeSpec(); addTypeSpec(mTypeSpec);