diff options
author | Adam Lesinski <adamlesinski@google.com> | 2016-04-07 13:24:59 -0700 |
---|---|---|
committer | Adam Lesinski <adamlesinski@google.com> | 2016-04-07 16:26:14 -0700 |
commit | 626b3dbf74f02ae630ae0089632f5962340694dc (patch) | |
tree | 21fda93c61d624b598b05cb0bd54a377a8975487 /tools/aapt2/java/AnnotationProcessor.h | |
parent | 41c1bb8f4a5a1f2f0a23d6cece525eaea50f57b3 (diff) |
AAPT2: Clean up R JavaDoc generation
- Don't generate private attributes in public R.java
- Strip out @SystemApi from comment when generating @android.annotation.SystemApi
- Only emit a single line (up to the first period) of an attribute's comment within
a styleable's attribute table.
Change-Id: Id6316a6861540325934133958939a12074ad4428
Diffstat (limited to 'tools/aapt2/java/AnnotationProcessor.h')
-rw-r--r-- | tools/aapt2/java/AnnotationProcessor.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/aapt2/java/AnnotationProcessor.h b/tools/aapt2/java/AnnotationProcessor.h index 0fc5b08e0bf3..8309dd978175 100644 --- a/tools/aapt2/java/AnnotationProcessor.h +++ b/tools/aapt2/java/AnnotationProcessor.h @@ -43,7 +43,6 @@ namespace aapt { * /\* * * This is meant to be hidden because * * It is system api. Also it is @deprecated - * * @SystemApi * *\/ * * Output Annotations: @@ -79,7 +78,7 @@ private: bool mHasComments = false; uint32_t mAnnotationBitMask = 0; - void appendCommentLine(const std::string& line); + void appendCommentLine(std::string& line); }; } // namespace aapt |