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

Commit 685000c6 authored by Anton Hansson's avatar Anton Hansson Committed by Android (Google) Code Review
Browse files

Merge "Stop disabling Metalava quality checks" into main

parents 2d3bdff3 25c8ca63
Loading
Loading
Loading
Loading
+3 −6
Original line number Diff line number Diff line
@@ -315,14 +315,11 @@ stubs_defaults {
        "--error UnhiddenSystemApi",
        "--error UnflaggedApi",
        "--force-convert-to-warning-nullability-annotations +*:-android.*:+android.icu.*:-dalvik.*",
        "--hide BroadcastBehavior",
        // Disable CallbackInterface, as Java 8 default interface methods avoid the extensibility
        // issue interfaces had previously.
        "--hide CallbackInterface",
        "--hide DeprecationMismatch",
        // Disable HiddenSuperclass, as Metalava handles this fine (it should be hidden by default)
        "--hide HiddenSuperclass",
        "--hide MissingPermission",
        "--hide RequiresPermission",
        "--hide SdkConstant",
        "--hide Todo",
        "--hide-package android.audio.policy.configuration.V7_0",
        "--hide-package com.android.server",
        "--manifest $(location :frameworks-base-core-AndroidManifest.xml)",
+12 −0
Original line number Diff line number Diff line
@@ -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,
}
+1164 −0

File changed.

Preview size limit exceeded, changes collapsed.

+1784 −0

File changed.

Preview size limit exceeded, changes collapsed.

+1776 −2

File changed.

Preview size limit exceeded, changes collapsed.

Loading