X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/a8c9cd56025c0ae2925dd17b8ec6bf94050abd62..0096feb5e9367cd51a067079fd5bceaac435e5e5:/ResourceTable.cpp?ds=inline 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; } } }