ResScalarValue::encodeAsResXml*() : use raw value if there is one.

This commit is contained in:
Ryszard Wiśniewski 2011-05-09 11:19:00 +02:00
parent 31274e73dc
commit 30add278d5

View File

@ -36,10 +36,16 @@ public abstract class ResScalarValue extends ResValue
}
public String encodeAsResXmlAttr() throws AndrolibException {
if (mRawValue != null) {
return mRawValue;
}
return encodeAsResXml();
}
public String encodeAsResXmlValue() throws AndrolibException {
if (mRawValue != null) {
return mRawValue;
}
return encodeAsResXml();
}