mirror of
https://github.com/revanced/Apktool.git
synced 2024-11-11 06:59:24 +01:00
fix TYPE_DYNAMIC_ATTRIBUTE support
This commit is contained in:
parent
164c64cec2
commit
983e0ad111
@ -55,8 +55,9 @@ public class ResValueFactory {
|
|||||||
case TypedValue.TYPE_INT_BOOLEAN:
|
case TypedValue.TYPE_INT_BOOLEAN:
|
||||||
return new ResBoolValue(value != 0, value, rawValue);
|
return new ResBoolValue(value != 0, value, rawValue);
|
||||||
case TypedValue.TYPE_DYNAMIC_REFERENCE:
|
case TypedValue.TYPE_DYNAMIC_REFERENCE:
|
||||||
case TypedValue.TYPE_DYNAMIC_ATTRIBUTE:
|
|
||||||
return newReference(value, rawValue);
|
return newReference(value, rawValue);
|
||||||
|
case TypedValue.TYPE_DYNAMIC_ATTRIBUTE:
|
||||||
|
return newReference(value, rawValue, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (type >= TypedValue.TYPE_FIRST_COLOR_INT && type <= TypedValue.TYPE_LAST_COLOR_INT) {
|
if (type >= TypedValue.TYPE_FIRST_COLOR_INT && type <= TypedValue.TYPE_LAST_COLOR_INT) {
|
||||||
|
Loading…
Reference in New Issue
Block a user