summaryrefslogtreecommitdiff
path: root/tools/aapt/Resource.cpp
diff options
context:
space:
mode:
author TreeHugger Robot <treehugger-gerrit@google.com> 2016-05-16 13:21:09 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2016-05-16 13:21:10 +0000
commitc4033e7c668abc1e671a130f70f58f885c63b176 (patch)
tree21dddaf7b41635d0a4bd98d688855e9373e5c12d /tools/aapt/Resource.cpp
parent8995b00ce8f68f2a285a97c2ce711bea8c61179e (diff)
parentfeaf99fa1b7563f15dbd4211718a6cfb7a3cc3c8 (diff)
Merge "Stop emitting javadoc for @removed attributes." into nyc-dev
Diffstat (limited to 'tools/aapt/Resource.cpp')
-rw-r--r--tools/aapt/Resource.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/aapt/Resource.cpp b/tools/aapt/Resource.cpp
index 8e7045bd07e1..e6407332bb90 100644
--- a/tools/aapt/Resource.cpp
+++ b/tools/aapt/Resource.cpp
@@ -2255,6 +2255,9 @@ static status_t writeLayoutClasses(
if (comment.size() <= 0) {
comment = getAttributeComment(assets, name8);
}
+ if (comment.contains(u"@removed")) {
+ continue;
+ }
if (comment.size() > 0) {
const char16_t* p = comment.string();
while (*p != 0 && *p != '.') {