From b0ad7517b796521b8b0c41497019ab79db1c6b3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ryszard=20Wi=C5=9Bniewski?= Date: Mon, 9 May 2011 10:46:52 +0200 Subject: [PATCH] ResValueFactory::factory() : decode TYPE_STRING values. --- .../main/java/brut/androlib/res/data/value/ResValueFactory.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apktool-lib/src/main/java/brut/androlib/res/data/value/ResValueFactory.java b/apktool-lib/src/main/java/brut/androlib/res/data/value/ResValueFactory.java index b67484bf..3602b805 100644 --- a/apktool-lib/src/main/java/brut/androlib/res/data/value/ResValueFactory.java +++ b/apktool-lib/src/main/java/brut/androlib/res/data/value/ResValueFactory.java @@ -38,6 +38,8 @@ public class ResValueFactory { return newReference(value, rawValue); case TypedValue.TYPE_ATTRIBUTE: return newReference(value, rawValue, true); + case TypedValue.TYPE_STRING: + return new ResStringValue(rawValue); case TypedValue.TYPE_FLOAT: return new ResFloatValue(Float.intBitsToFloat(value), rawValue); case TypedValue.TYPE_DIMENSION: