mirror of
https://github.com/revanced/Apktool.git
synced 2024-09-12 09:16:37 +02:00
reference-array dirty fix (works)
This commit is contained in:
parent
f9aaf2cc7e
commit
ea8f6b666f
@ -49,7 +49,11 @@ public class ResArrayValue extends ResBagValue implements ResValuesXmlSerializab
|
|||||||
throws IOException, AndrolibException {
|
throws IOException, AndrolibException {
|
||||||
String type = getType();
|
String type = getType();
|
||||||
type = (type == null ? "" : type + "-") + "array";
|
type = (type == null ? "" : type + "-") + "array";
|
||||||
|
// reference array (04 10 2012, BurgerZ)
|
||||||
|
if ("reference-array".equals(type)) {
|
||||||
|
type = "string-array";
|
||||||
|
}
|
||||||
|
// reference array (04 10 2012, BurgerZ)
|
||||||
serializer.startTag(null, type);
|
serializer.startTag(null, type);
|
||||||
serializer.attribute(null, "name", res.getResSpec().getName());
|
serializer.attribute(null, "name", res.getResSpec().getName());
|
||||||
for (int i = 0; i < mItems.length; i++) {
|
for (int i = 0; i < mItems.length; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user