mirror of
https://github.com/revanced/Apktool.git
synced 2024-11-04 03:39:24 +01:00
AXmlResourceParser::getAttributeValue(): do not use raw value for color values.
This commit is contained in:
parent
93af3fe56d
commit
6c051148b5
@ -314,6 +314,10 @@ public class AXmlResourceParser implements XmlResourceParser {
|
||||
valueString == -1
|
||||
|| valueType == TypedValue.TYPE_REFERENCE
|
||||
|| valueType == TypedValue.TYPE_ATTRIBUTE
|
||||
|| (
|
||||
valueType >= TypedValue.TYPE_FIRST_COLOR_INT
|
||||
&& valueType <= TypedValue.TYPE_LAST_COLOR_INT
|
||||
)
|
||||
)) {
|
||||
try {
|
||||
return mAttrDecoder.decode(valueType, valueData,
|
||||
|
Loading…
Reference in New Issue
Block a user