mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-21 09:17:35 +01:00
ResScalarValue +serializeExtraXmlAttrs() .
This commit is contained in:
parent
0f251a0fd9
commit
99882396b9
@ -62,6 +62,8 @@ public abstract class ResScalarValue extends ResValue
|
||||
}
|
||||
serializer.attribute(null, "name", res.getResSpec().getName());
|
||||
|
||||
serializeExtraXmlAttrs(serializer, res);
|
||||
|
||||
String body = encodeAsResXmlValue();
|
||||
if (! body.isEmpty()) {
|
||||
serializer.ignorableWhitespace(body);
|
||||
@ -74,5 +76,9 @@ public abstract class ResScalarValue extends ResValue
|
||||
return mType;
|
||||
}
|
||||
|
||||
protected void serializeExtraXmlAttrs(XmlSerializer serializer,
|
||||
ResResource res) throws IOException {
|
||||
}
|
||||
|
||||
protected abstract String encodeAsResXml() throws AndrolibException;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user