summaryrefslogtreecommitdiff
path: root/api/ApiDocs.bp
diff options
context:
space:
mode:
author Xin Li <delphij@google.com> 2024-01-30 10:36:03 -0800
committer Xin Li <delphij@google.com> 2024-01-30 10:36:03 -0800
commit7b647e4ea0e92f33c19b315eaed364ee067ba0aa (patch)
tree47c285aa18cf79476d615f8e169ebd823bee6d38 /api/ApiDocs.bp
parent46deec9f696f850efdd4427e10db145d68cbb5bd (diff)
parentefd99108901ae47b085f96c841214f6f416dd86f (diff)
Merge Android 24Q1 Release (ab/11220357)
Bug: 319669529 Merged-In: I46c7859ff042ee7aa9193757e5df8269f4892362 Change-Id: I0c7b5036c0b0f5f2caad551edb063350f6eb87e7
Diffstat (limited to 'api/ApiDocs.bp')
-rw-r--r--api/ApiDocs.bp12
1 files changed, 12 insertions, 0 deletions
diff --git a/api/ApiDocs.bp b/api/ApiDocs.bp
index d7e25834905c..6b8c02f901f1 100644
--- a/api/ApiDocs.bp
+++ b/api/ApiDocs.bp
@@ -30,6 +30,18 @@ stubs_defaults {
":android-test-mock-sources",
":android-test-runner-sources",
],
+ flags: [
+ // These errors are suppressed in the doc stubs as it isn't easy to suppress them.
+ // They remain unsuppressed/active in the "main" stubs build (the jar stubs).
+ // These can be removed when either a) all the issues have been fixed or
+ // b) these reporting of these issues is gated behind api lint being enabled in metalava.
+ "--hide BroadcastBehavior",
+ "--hide DeprecationMismatch",
+ "--hide MissingPermission",
+ "--hide RequiresPermission",
+ "--hide SdkConstant",
+ "--hide Todo",
+ ],
create_doc_stubs: true,
write_sdk_values: true,
}