UnflaggedApi: Disable enforcement for @SystemApi for now
The lint seems to trigger on methods inherited from
classes that are part of the public API surface.
Disables the lint for non-public surfaces until this is fixed.
Bug: 297362755
Test: m :checkapi
Change-Id: I6de0123ed8d54d88b7d78cc01e99e0558aa99413
diff --git a/api/StubLibraries.bp b/api/StubLibraries.bp
index c59a833..2f84df7 100644
--- a/api/StubLibraries.bp
+++ b/api/StubLibraries.bp
@@ -33,7 +33,7 @@
"android-non-updatable-stubs-defaults",
"module-classpath-stubs-defaults",
],
- args: metalava_framework_docs_args,
+ args: metalava_framework_docs_args + "--error UnflaggedApi ",
check_api: {
current: {
api_file: ":non-updatable-current.txt",