Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e83c4510 authored by Donald Chai's avatar Donald Chai Committed by Android (Google) Code Review
Browse files

Merge "[aapt2] Close empty lists in "dump resources"."

parents cf6af044 42fe2b2a
Loading
Loading
Loading
Loading
+9 −11
Original line number Diff line number Diff line
@@ -178,7 +178,6 @@ class ValueBodyPrinter : public ConstValueVisitor {
  void Visit(const Array* array) override {
    const size_t count = array->elements.size();
    printer_->Print("[");
    if (count > 0) {
    for (size_t i = 0u; i < count; i++) {
      if (i != 0u && i % 4u == 0u) {
        printer_->Println();
@@ -191,7 +190,6 @@ class ValueBodyPrinter : public ConstValueVisitor {
    }
    printer_->Println("]");
  }
  }

  void Visit(const Plural* plural) override {
    constexpr std::array<const char*, Plural::Count> kPluralNames = {