reference-array dirty fix (works)

This commit is contained in:
Zhukovskiy Andrey 2012-10-16 07:05:22 +03:00 committed by Connor Tumbleson
parent f9aaf2cc7e
commit ea8f6b666f

View File

@ -49,7 +49,11 @@ public class ResArrayValue extends ResBagValue implements ResValuesXmlSerializab
throws IOException, AndrolibException {
String type = getType();
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.attribute(null, "name", res.getResSpec().getName());
for (int i = 0; i < mItems.length; i++) {