Skip to content

Commit 4a4d96e

Browse files
cco3Android Code Review
authored andcommitted
Merge changes I0ab47e2f,Ib8016996
* changes: Remove errant tag terminator Normalize output of XMLtree content
2 parents 86d1d74 + 0cd48ae commit 4a4d96e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/res/res/layout/contact_header.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
android:layout_marginRight="8dip"
2828
android:layout_marginLeft="-1dip"
2929
style="@*android:style/Widget.QuickContactBadge.WindowSmall" />
30-
/>
3130

3231
<LinearLayout
3332
android:layout_width="0dip"

tools/aapt/XMLNode.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,8 @@ void printXMLBlock(ResXMLTree* block)
504504
namespaces.pop();
505505
} else if (code == ResXMLTree::TEXT) {
506506
size_t len;
507-
printf("%sC: \"%s\"\n", prefix.string(), String8(block->getText(&len)).string());
507+
printf("%sC: \"%s\"\n", prefix.string(), ResTable::normalizeForOutput(
508+
String8(block->getText(&len)).string()).string());
508509
}
509510
}
510511

0 commit comments

Comments
 (0)