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

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

Merge "AAPT: Render resource ID values with 0x%08x in "dump xmltree" output as is done elsewhere."

parents 29bcb287 5f92797f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -474,9 +474,9 @@ void printXMLBlock(ResXMLTree* block)
                if (value.dataType == Res_value::TYPE_NULL) {
                    printf("=(null)");
                } else if (value.dataType == Res_value::TYPE_REFERENCE) {
                    printf("=@0x%x", (int)value.data);
                    printf("=@0x%08x", (int)value.data);
                } else if (value.dataType == Res_value::TYPE_ATTRIBUTE) {
                    printf("=?0x%x", (int)value.data);
                    printf("=?0x%08x", (int)value.data);
                } else if (value.dataType == Res_value::TYPE_STRING) {
                    printf("=\"%s\"",
                            ResTable::normalizeForOutput(String8(block->getAttributeStringValue(i,