X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/9cc9feadcc715388d2d950e6ae8c5cc4e56e0f21..0096feb5e9367cd51a067079fd5bceaac435e5e5:/ResourceTable.cpp diff --git a/ResourceTable.cpp b/ResourceTable.cpp index 95a2384..3cf6a71 100644 --- a/ResourceTable.cpp +++ b/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; } } @@ -2364,13 +2364,12 @@ ResourceTable::validateLocalizations(void) String8 region(config.string(), 2); if (configSet.find(region) == configSet.end()) { if (configSet.count(defaultLocale) == 0) { - fprintf(stdout, "aapt: error: " + fprintf(stdout, "aapt: warning: " "*** string '%s' has no default or required localization " "for '%s' in %s\n", String8(nameIter->first).string(), config.string(), mBundle->getResourceSourceDirs()[0]); - err = UNKNOWN_ERROR; } } }