fix: remove no longer used resources on ResPackage

This commit is contained in:
Connor Tumbleson 2021-03-28 17:26:08 -04:00
parent 618d9b23e5
commit bddf575318
No known key found for this signature in database
GPG Key ID: C3CC0A201EC7DA75

View File

@ -332,7 +332,6 @@ public class ARSCDecoder {
throw ex;
}
}
mPkg.addResource(res);
}
private ResBagValue readComplexEntry() throws IOException, AndrolibException {
@ -530,7 +529,6 @@ public class ARSCDecoder {
ResValue value = new ResReferenceValue(mPkg, 0, "");
ResResource res = new ResResource(mType, spec, value);
mPkg.addResource(res);
mType.addResource(res);
spec.addResource(res);
}