From 5ac9007bd861487db52be623a974ff7adc061520 Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Tue, 20 Jan 2009 14:03:58 -0800 Subject: [PATCH] auto import from //branches/cupcake/...@127101 --- ResourceTable.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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; } } } -- 2.45.2