mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-21 01:07:34 +01:00
ResStringValue::encodeAsXmlValue() : enumerate non-positional substitutions.
This commit is contained in:
parent
5363b7f470
commit
316353f83f
@ -42,7 +42,8 @@ public class ResStringValue extends ResScalarValue {
|
||||
|
||||
@Override
|
||||
public String encodeAsResXmlValue() {
|
||||
return ResXmlEncoders.encodeAsXmlValue(mRawValue);
|
||||
return ResXmlEncoders.enumerateNonPositionalSubstitutions(
|
||||
ResXmlEncoders.encodeAsXmlValue(mRawValue));
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -50,6 +51,12 @@ public class ResStringValue extends ResScalarValue {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected String serializeXmlBody(XmlSerializer serializer, ResResource res)
|
||||
throws IOException, AndrolibException {
|
||||
return ResXmlEncoders.encodeAsXmlValue(mRawValue);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void serializeExtraXmlAttrs(XmlSerializer serializer,
|
||||
ResResource res) throws IOException {
|
||||
|
Loading…
x
Reference in New Issue
Block a user