mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-21 01:07:34 +01:00
ResScalarValue +serializeXmlBody()
This commit is contained in:
parent
265ee7ceac
commit
5363b7f470
@ -64,7 +64,7 @@ public abstract class ResScalarValue extends ResValue
|
||||
|
||||
serializeExtraXmlAttrs(serializer, res);
|
||||
|
||||
String body = encodeAsResXmlValue();
|
||||
String body = serializeXmlBody(serializer, res);
|
||||
if (! body.isEmpty()) {
|
||||
serializer.ignorableWhitespace(body);
|
||||
}
|
||||
@ -76,6 +76,11 @@ public abstract class ResScalarValue extends ResValue
|
||||
return mType;
|
||||
}
|
||||
|
||||
protected String serializeXmlBody(XmlSerializer serializer,
|
||||
ResResource res) throws IOException, AndrolibException {
|
||||
return encodeAsResXmlValue();
|
||||
}
|
||||
|
||||
protected void serializeExtraXmlAttrs(XmlSerializer serializer,
|
||||
ResResource res) throws IOException {
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user