mirror of
https://github.com/revanced/Apktool.git
synced 2025-02-08 01:56:50 +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
|
@Override
|
||||||
public String encodeAsResXmlValue() {
|
public String encodeAsResXmlValue() {
|
||||||
return ResXmlEncoders.encodeAsXmlValue(mRawValue);
|
return ResXmlEncoders.enumerateNonPositionalSubstitutions(
|
||||||
|
ResXmlEncoders.encodeAsXmlValue(mRawValue));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -50,6 +51,12 @@ public class ResStringValue extends ResScalarValue {
|
|||||||
throw new UnsupportedOperationException();
|
throw new UnsupportedOperationException();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected String serializeXmlBody(XmlSerializer serializer, ResResource res)
|
||||||
|
throws IOException, AndrolibException {
|
||||||
|
return ResXmlEncoders.encodeAsXmlValue(mRawValue);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void serializeExtraXmlAttrs(XmlSerializer serializer,
|
protected void serializeExtraXmlAttrs(XmlSerializer serializer,
|
||||||
ResResource res) throws IOException {
|
ResResource res) throws IOException {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user