From: The Android Open Source Project Date: Tue, 20 Jan 2009 22:05:35 +0000 (-0800) Subject: Merge branch 'cupcake' X-Git-Url: https://git.saurik.com/android/aapt.git/commitdiff_plain/ae0a25e10cf864d00b4e381dbc134057e4f4e598?hp=2843f9b794ba59875f8810c886081cdd954ca25f Merge branch 'cupcake' --- diff --git a/ResourceTable.cpp b/ResourceTable.cpp index 877763d..c438366 100644 --- a/ResourceTable.cpp +++ b/ResourceTable.cpp @@ -2165,15 +2165,14 @@ ResourceTable::validateLocalizations(void) // consider that string to have fulfilled the localization requirement. String8 region(config.string(), 2); if (configSet.find(region) == configSet.end()) { - // TODO: force an error if there is no default to fall back to if (configSet.count(defaultLocale) == 0) { - fprintf(stdout, "aapt: warning: " + fprintf(stdout, "aapt: error: " "*** 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; + err = UNKNOWN_ERROR; } } }