summaryrefslogtreecommitdiff
path: root/tools/aapt/Resource.cpp
diff options
context:
space:
mode:
authorAurimas Liutikas <aurimas@google.com>2017-02-17 12:06:41 -0800
committerAurimas Liutikas <aurimas@google.com>2017-02-17 18:44:28 -0800
commit75e7d1d73e74cdc85a5fb731fa13159ab073d939 (patch)
tree7193961bcf4abecd118479b3fae730436fd42aac /tools/aapt/Resource.cpp
parented71756327a57a301ea7a2b6d6041517320ab3ad (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.cpp9
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;
}