From 379e4aa74cf106551162fa2dd3cdea78e4a03dff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ryszard=20Wi=C5=9Bniewski?= Date: Fri, 2 Dec 2011 02:52:38 +0100 Subject: [PATCH] ResStringValue::encodeAsResXmlValue(): don't enumerate non-pos substs. It already sets formatted="false", so enumeration isn't necessary. --- .../main/java/brut/androlib/res/data/value/ResStringValue.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apktool-lib/src/main/java/brut/androlib/res/data/value/ResStringValue.java b/apktool-lib/src/main/java/brut/androlib/res/data/value/ResStringValue.java index e60e0e02..c356e70d 100644 --- a/apktool-lib/src/main/java/brut/androlib/res/data/value/ResStringValue.java +++ b/apktool-lib/src/main/java/brut/androlib/res/data/value/ResStringValue.java @@ -42,8 +42,7 @@ public class ResStringValue extends ResScalarValue { @Override public String encodeAsResXmlValue() { - return ResXmlEncoders.enumerateNonPositionalSubstitutions( - ResXmlEncoders.encodeAsXmlValue(mRawValue)); + return ResXmlEncoders.encodeAsXmlValue(mRawValue); } @Override