提交 9d257cd1 编写于 作者: A Ahmed Ashour 提交者: skylot

fix(res): ignore resource entry with -1 key (#556) (PR #557)

上级 1e554117
......@@ -214,6 +214,9 @@ public class ResTableParser extends CommonBinaryParser {
int size = is.readInt16();
int flags = is.readInt16();
int key = is.readInt32();
if (key == -1) {
return;
}
int resRef = pkg.getId() << 24 | typeId << 16 | entryId;
String typeName = pkg.getTypeStrings()[typeId - 1];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册