diff options
author | Aurimas Liutikas <aurimas@google.com> | 2017-02-17 12:06:41 -0800 |
---|---|---|
committer | Aurimas Liutikas <aurimas@google.com> | 2017-02-17 18:44:28 -0800 |
commit | 75e7d1d73e74cdc85a5fb731fa13159ab073d939 (patch) | |
tree | 7193961bcf4abecd118479b3fae730436fd42aac /tools/aapt/Resource.cpp | |
parent | ed71756327a57a301ea7a2b6d6041517320ab3ad (diff) |
Removes an already defined warning in aapt.
Apps that expect to use the current SDK don't specify anything in their
manifest and the build system rightfully injects the current SDK.
Any apps that specify their own <uses-sdk> or versionCode are telling
the build system that they are purposely using some other minSdkVersion,
etc (support library demos).
Test: None
Change-Id: I0aba3a71e15703c7bcafcf4d35608a1851dd8567
Fixes: 34901699
Diffstat (limited to 'tools/aapt/Resource.cpp')
-rw-r--r-- | tools/aapt/Resource.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tools/aapt/Resource.cpp b/tools/aapt/Resource.cpp index cf5badc82117..881ac8748083 100644 --- a/tools/aapt/Resource.cpp +++ b/tools/aapt/Resource.cpp @@ -721,11 +721,6 @@ bool addTagAttribute(const sp<XMLNode>& node, const char* ns8, XMLNode::attribute_entry* existingEntry = node->editAttribute(ns, attr); if (existingEntry != NULL) { if (replaceExisting) { - if (kIsDebug) { - printf("Info: AndroidManifest.xml already defines %s (in %s);" - " overwriting existing value from manifest.\n", - String8(attr).string(), String8(ns).string()); - } existingEntry->string = String16(value); return true; } @@ -737,10 +732,6 @@ bool addTagAttribute(const sp<XMLNode>& node, const char* ns8, return false; } - fprintf(stderr, "Warning: AndroidManifest.xml already defines %s (in %s);" - " using existing value in manifest.\n", - String8(attr).string(), String8(ns).string()); - // don't stop the build. return true; } |