From e2da2d6283be58085b062b3acb5c631c6e1a4de0 Mon Sep 17 00:00:00 2001 From: MÃ¥rten Kongstad Date: Thu, 11 Jan 2024 09:53:59 +0100 Subject: (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 --- api/ApiDocs.bp | 1 + 1 file changed, 1 insertion(+) (limited to 'api/ApiDocs.bp') 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 -- cgit v1.2.3-59-g8ed1b