From 93d72516994277acdd3894a169ec1f1cbc50db97 Mon Sep 17 00:00:00 2001 From: Robert Greenwalt Date: Wed, 2 Sep 2009 18:23:57 -0700 Subject: [PATCH] Fix compilation of add-resource tag. It used the wrong tag-type to find the end of itself. --- tools/aapt/ResourceTable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/aapt/ResourceTable.cpp b/tools/aapt/ResourceTable.cpp index f9d243423dca9..3cf6a711c4606 100644 --- a/tools/aapt/ResourceTable.cpp +++ b/tools/aapt/ResourceTable.cpp @@ -984,7 +984,7 @@ status_t compileResourceFile(Bundle* bundle, while ((code=block.next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) { if (code == ResXMLTree::END_TAG) { - if (strcmp16(block.getElementName(&len), private_symbols16.string()) == 0) { + if (strcmp16(block.getElementName(&len), add_resource16.string()) == 0) { break; } }