mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-12 05:47:46 +01:00
ResValueFactory::factory() : decode TYPE_STRING values.
This commit is contained in:
parent
5740064cee
commit
b0ad7517b7
@ -38,6 +38,8 @@ public class ResValueFactory {
|
|||||||
return newReference(value, rawValue);
|
return newReference(value, rawValue);
|
||||||
case TypedValue.TYPE_ATTRIBUTE:
|
case TypedValue.TYPE_ATTRIBUTE:
|
||||||
return newReference(value, rawValue, true);
|
return newReference(value, rawValue, true);
|
||||||
|
case TypedValue.TYPE_STRING:
|
||||||
|
return new ResStringValue(rawValue);
|
||||||
case TypedValue.TYPE_FLOAT:
|
case TypedValue.TYPE_FLOAT:
|
||||||
return new ResFloatValue(Float.intBitsToFloat(value), rawValue);
|
return new ResFloatValue(Float.intBitsToFloat(value), rawValue);
|
||||||
case TypedValue.TYPE_DIMENSION:
|
case TypedValue.TYPE_DIMENSION:
|
||||||
|
Loading…
Reference in New Issue
Block a user