AAPT2: Add support for comments in R.java
Change-Id: Iaa5f3b75bf7de9dbf458fa5c452f7312989f4c4f
diff --git a/tools/aapt2/java/AnnotationProcessor.h b/tools/aapt2/java/AnnotationProcessor.h
index b472109..81a6f6e 100644
--- a/tools/aapt2/java/AnnotationProcessor.h
+++ b/tools/aapt2/java/AnnotationProcessor.h
@@ -65,6 +65,7 @@
* 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 @@
bool mDeprecated = false;
bool mSystemApi = false;
- void appendCommentLine(const StringPiece16& line);
+ void appendCommentLine(const std::string& line);
};
} // namespace aapt