Decode attributes which may contain either enums or values, e.g. layout_width
android:layout_width="UNKNOWN_DATA_0x6401" becomes android:layout_width="100dp".
This commit is contained in:
@@ -168,10 +168,7 @@ public class ManifestAttributes {
|
||||
return null;
|
||||
}
|
||||
if (attr.getType() == MAttrType.ENUM) {
|
||||
String name = attr.getValues().get(value);
|
||||
if (name != null) {
|
||||
return name;
|
||||
}
|
||||
return attr.getValues().get(value);
|
||||
} else if (attr.getType() == MAttrType.FLAG) {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
for (Map.Entry<Long, String> entry : attr.getValues().entrySet()) {
|
||||
|
||||
Reference in New Issue
Block a user