mirror of
https://github.com/skylot/jadx.git
synced 2024-11-23 12:50:02 +00:00
fix(res): resolve all custom attributes (PR #1933)
This commit is contained in:
parent
0efc99e43e
commit
36f439a82b
@ -209,9 +209,10 @@ public class ManifestAttributes {
|
||||
if (ri.getTypeName().equals("attr") && ri.getNamedValues().size() > 1) {
|
||||
RawNamedValue first = ri.getNamedValues().get(0);
|
||||
MAttrType attrTyp;
|
||||
if (first.getRawValue().getData() == ValuesParser.ATTR_TYPE_FLAGS) {
|
||||
int attrTypeVal = first.getRawValue().getData() & 0xff0000;
|
||||
if (attrTypeVal == ValuesParser.ATTR_TYPE_FLAGS) {
|
||||
attrTyp = MAttrType.FLAG;
|
||||
} else if (first.getRawValue().getData() == ValuesParser.ATTR_TYPE_ENUM || first.getRawValue().getData() == 65600) {
|
||||
} else if (attrTypeVal == ValuesParser.ATTR_TYPE_ENUM) {
|
||||
attrTyp = MAttrType.ENUM;
|
||||
} else {
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user