]> git.saurik.com Git - android/aapt.git/commitdiff
Fix compilation of add-resource tag.
authorRobert Greenwalt <robdroid@android.com>
Thu, 3 Sep 2009 01:23:57 +0000 (18:23 -0700)
committerRobert Greenwalt <robdroid@android.com>
Thu, 3 Sep 2009 01:23:57 +0000 (18:23 -0700)
It used the wrong tag-type to find the end of itself.

ResourceTable.cpp

index f9d243423dca99433b4a74f2603d948236014562..3cf6a711c4606fa8f44f78d66d92960f1fe3d574 100644 (file)
@@ -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;
                         }
                     }