From 5265c07843024e4257ac46337ec286cf31b06918 Mon Sep 17 00:00:00 2001 From: Kenny Root Date: Thu, 18 Mar 2010 14:14:49 -0700 Subject: [PATCH 1/1] Make aapt warning concise The previous warning made it seem like it could be using the value specified on the command line, but, in fact, it would ignore the command line value if it were already specified in the AndroidManifest.xml Change-Id: I15e8161e094f17412680d25d3b7b810474eb4a31 --- Resource.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Resource.cpp b/Resource.cpp index 87f2420..a8ac2ec 100644 --- a/Resource.cpp +++ b/Resource.cpp @@ -611,7 +611,8 @@ void addTagAttribute(const sp& node, const char* ns8, const String16 attr(attr8); if (node->getAttribute(ns, attr) != NULL) { - fprintf(stderr, "Warning: AndroidManifest.xml already defines %s (in %s)\n", + fprintf(stderr, "Warning: AndroidManifest.xml already defines %s (in %s);" + " using existing value in manifest.\n", String8(attr).string(), String8(ns).string()); return; } -- 2.45.2