aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2022-03-09 23:33:13 +0000
committerSteven Moreland <smoreland@google.com>2022-03-10 02:11:00 +0000
commite43c97ebcf9a9ce69311080115e1e093a04c1ec7 (patch)
tree41b996f067a1ac4c715083469b15c92db9da34e9
parenta4fb703ea827e802a2587ed32ea9f581419b5e6c (diff)
downloadaidl-e43c97ebcf9a9ce69311080115e1e093a04c1ec7.tar.gz
checkapi: ignore @Hide
Hide the API, unhide it. The Java-level definitions don't affect the AIDL protocol definitions. Bug: blocking someone locally Test: N/A Change-Id: Id940b632aff98a57581709ad6c1a34c584aec249
-rw-r--r--aidl_checkapi.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/aidl_checkapi.cpp b/aidl_checkapi.cpp
index c1d3c66b..57e0d2b6 100644
--- a/aidl_checkapi.cpp
+++ b/aidl_checkapi.cpp
@@ -76,6 +76,7 @@ static vector<string> get_strict_annotations(const AidlAnnotatable& node) {
// - a new implementation might start accepting null values (add @nullable)
static const set<AidlAnnotation::Type> kIgnoreAnnotations{
AidlAnnotation::Type::NULLABLE,
+ AidlAnnotation::Type::HIDE,
// @JavaDerive doesn't affect read/write
AidlAnnotation::Type::JAVA_DERIVE,
AidlAnnotation::Type::JAVA_DEFAULT,