AAPT2: Expose split support to command line
Bug:30445078
Change-Id: If4b8530dba71b9059b8e62c04757da99c1119d22
diff --git a/tools/aapt2/ResourceValues.cpp b/tools/aapt2/ResourceValues.cpp
index 4a86579..73682ab 100644
--- a/tools/aapt2/ResourceValues.cpp
+++ b/tools/aapt2/ResourceValues.cpp
@@ -449,9 +449,7 @@
printMask(out);
if (!symbols.empty()) {
- *out << " ["
- << util::joiner(symbols.begin(), symbols.end(), ", ")
- << "]";
+ *out << " [" << util::joiner(symbols, ", ") << "]";
}
if (minInt != std::numeric_limits<int32_t>::min()) {
@@ -600,7 +598,7 @@
*out << parent.value().name.value();
}
*out << " ["
- << util::joiner(entries.begin(), entries.end(), ", ")
+ << util::joiner(entries, ", ")
<< "]";
}
@@ -645,7 +643,7 @@
void Array::print(std::ostream* out) const {
*out << "(array) ["
- << util::joiner(items.begin(), items.end(), ", ")
+ << util::joiner(items, ", ")
<< "]";
}
@@ -730,7 +728,7 @@
void Styleable::print(std::ostream* out) const {
*out << "(styleable) " << " ["
- << util::joiner(entries.begin(), entries.end(), ", ")
+ << util::joiner(entries, ", ")
<< "]";
}