use of com.android.aapt.Resources.Array in project jadx by skylot.
the class ResProtoParser method parse.
private ProtoValue parse(Array a) {
List<ProtoValue> namedValues = new ArrayList<>(a.getElementCount());
for (int i = 0; i < a.getElementCount(); i++) {
Array.Element e = a.getElement(i);
String value = parse(e.getItem());
namedValues.add(new ProtoValue(value));
}
return new ProtoValue().setNamedValues(namedValues);
}
Aggregations