mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-12 13:57:46 +01:00
AXmlResourceParser.getAttributeValue(): returning non-string values using TypedValue.coerceToString().
This commit is contained in:
parent
795591f935
commit
6af633590a
@ -296,7 +296,7 @@ public class AXmlResourceParser implements XmlResourceParser {
|
|||||||
return m_strings.getString(valueString);
|
return m_strings.getString(valueString);
|
||||||
}
|
}
|
||||||
int valueData = m_attributes[offset + ATTRIBUTE_IX_VALUE_DATA];
|
int valueData = m_attributes[offset + ATTRIBUTE_IX_VALUE_DATA];
|
||||||
return "";//TypedValue.coerceToString(valueType,valueData);
|
return TypedValue.coerceToString(valueType, valueData);
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean getAttributeBooleanValue(int index, boolean defaultValue) {
|
public boolean getAttributeBooleanValue(int index, boolean defaultValue) {
|
||||||
|
Loading…
Reference in New Issue
Block a user