diff options
author | Robert Greenwalt <robdroid@android.com> | 2009-09-02 18:23:57 -0700 |
---|---|---|
committer | Robert Greenwalt <robdroid@android.com> | 2009-09-02 18:23:57 -0700 |
commit | 93d72516994277acdd3894a169ec1f1cbc50db97 (patch) | |
tree | 8a12fcb8bb24d01221f4c401ef672ea69274fbfc /tools/aapt | |
parent | 6e478d7afb33eff4efe704a16b1a05435b431062 (diff) | |
download | frameworks_base-93d72516994277acdd3894a169ec1f1cbc50db97.zip frameworks_base-93d72516994277acdd3894a169ec1f1cbc50db97.tar.gz frameworks_base-93d72516994277acdd3894a169ec1f1cbc50db97.tar.bz2 |
Fix compilation of add-resource tag.
It used the wrong tag-type to find the end of itself.
Diffstat (limited to 'tools/aapt')
-rw-r--r-- | tools/aapt/ResourceTable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aapt/ResourceTable.cpp b/tools/aapt/ResourceTable.cpp index f9d2434..3cf6a71 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; } } |