Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8be0952e authored by Adrian Roos's avatar Adrian Roos
Browse files

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
parent b90e7f68
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -621,7 +621,6 @@ metalava_framework_docs_args = "" +
    "--api-lint-ignore-prefix org. " +
    "--error NoSettingsProvider " +
    "--error UnhiddenSystemApi " +
    "--error UnflaggedApi " +
    "--force-convert-to-warning-nullability-annotations +*:-android.*:+android.icu.*:-dalvik.* " +
    "--hide BroadcastBehavior " +
    "--hide CallbackInterface " +
+1 −1
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@ droidstubs {
        "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",