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

Commit fd44b56d authored by Adam Lesinski's avatar Adam Lesinski Committed by Android (Google) Code Review
Browse files

Merge "AAPT: Fix printing of resource configurations" into mnc-dev

parents f63800dd 5b0f1be0
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -6758,7 +6758,13 @@ void ResTable::print(bool inclValues) const
                    printf("      NON-INTEGER ResTable_type ADDRESS: %p\n", type);
                    continue;
                }
                String8 configStr = type->config.toString();

                // Always copy the config, as fields get added and we need to
                // set the defaults.
                ResTable_config thisConfig;
                thisConfig.copyFromDtoH(type->config);

                String8 configStr = thisConfig.toString();
                printf("      config %s:\n", configStr.size() > 0
                        ? configStr.string() : "(default)");
                size_t entryCount = dtohl(type->entryCount);