summaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorMårten Kongstad <amhk@google.com>2024-01-11 09:53:59 +0100
committerMårten Kongstad <amhk@google.com>2024-01-11 10:01:09 +0100
commite2da2d6283be58085b062b3acb5c631c6e1a4de0 (patch)
treed4f1fb769ed61fbf34fb6149fe1bb94fa1830ea4 /api
parent364446fa7a61192cab5e53feb73a8793c7b06b6a (diff)
downloadbase-e2da2d6283be58085b062b3acb5c631c6e1a4de0.tar.gz
(Temporarily) hide Lint 101 errors
When building SDKs that include some, but not all @FlaggedApis, a few Javadoc @see/@link references will point to objects that are inaccessible, which will trigger Lint 101 errors. The correct fix is to update the Javadoc. However, to unblock the SDK build for now, temporarily hide Lint 101 errors. Bug: 319541666 Test: m sdk dist Change-Id: Icbd1d99d5fcd6cee37bf588ef45443e7e946f742
Diffstat (limited to 'api')
-rw-r--r--api/ApiDocs.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/ApiDocs.bp b/api/ApiDocs.bp
index 5744bdfd4b28..d7e25834905c 100644
--- a/api/ApiDocs.bp
+++ b/api/ApiDocs.bp
@@ -171,6 +171,7 @@ doc_defaults {
"-federationapi AndroidX $(location :current-androidx-api)",
// doclava contains checks for a few issues that are have been migrated to metalava.
// disable them in doclava, to avoid mistriggering or double triggering.
+ "-hide 101", // TODO: turn Lint 101 back into an error again
"-hide 111", // HIDDEN_SUPERCLASS
"-hide 113", // DEPRECATION_MISMATCH
"-hide 125", // REQUIRES_PERMISSION