diff options
author | Adam Lesinski <adamlesinski@google.com> | 2015-10-30 16:31:42 -0700 |
---|---|---|
committer | Adam Lesinski <adamlesinski@google.com> | 2015-11-02 11:53:47 -0800 |
commit | 3b4cd94034ff3e5567a2ba6da35d640ff61db4b9 (patch) | |
tree | 83c604b9a3b0d1b25769a6afd16578fd97e6effe /tools/aapt2/java/AnnotationProcessor.h | |
parent | 104e028c3a180a4a151160299ad2e1a4185d6c50 (diff) |
AAPT2: Add support for comments in R.java
Change-Id: Iaa5f3b75bf7de9dbf458fa5c452f7312989f4c4f
Diffstat (limited to 'tools/aapt2/java/AnnotationProcessor.h')
-rw-r--r-- | tools/aapt2/java/AnnotationProcessor.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/aapt2/java/AnnotationProcessor.h b/tools/aapt2/java/AnnotationProcessor.h index b47210939d06..81a6f6e42759 100644 --- a/tools/aapt2/java/AnnotationProcessor.h +++ b/tools/aapt2/java/AnnotationProcessor.h @@ -65,6 +65,7 @@ public: * we need to collect all the comments. */ void appendComment(const StringPiece16& comment); + void appendComment(const StringPiece& comment); /** * Finishes the comment and moves it to the caller. Subsequent calls to buildComment() have @@ -85,7 +86,7 @@ private: bool mDeprecated = false; bool mSystemApi = false; - void appendCommentLine(const StringPiece16& line); + void appendCommentLine(const std::string& line); }; } // namespace aapt |