mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-21 01:07:34 +01:00
fix: introduce basic staged alias support
This commit is contained in:
parent
e9a3993da8
commit
df3b9f7c56
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user