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

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

Merge "Make wifi module use shared metalava args"

parents efed6c7a 0c2ebe2b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -26,6 +26,9 @@ mainline_stubs_args =
    "--hide Typo " +
    "--hide UnavailableSymbol "

// TODO: remove this server classes are cleaned up.
mainline_stubs_args += "--hide-package com.android.server "

stubs_defaults {
    name: "framework-module-stubs-defaults-publicapi",
    args: mainline_stubs_args,
+1 −16
Original line number Diff line number Diff line
@@ -58,21 +58,6 @@ java_library {
    }
}

metalava_wifi_docs_args =
    "--hide-package com.android.server " +
    "--error UnhiddenSystemApi " +
    "--hide RequiresPermission " +
    "--hide MissingPermission " +
    "--hide BroadcastBehavior " +
    "--hide HiddenSuperclass " +
    "--hide DeprecationMismatch " +
    "--hide UnavailableSymbol " +
    "--hide SdkConstant " +
    "--hide HiddenTypeParameter " +
    "--hide Todo --hide Typo " +
    "--hide HiddenTypedefConstant " +
    "--show-annotation android.annotation.SystemApi "

droidstubs {
    name: "framework-wifi-stubs-srcs",
    srcs: [
@@ -82,7 +67,7 @@ droidstubs {
    aidl: {
        include_dirs: ["frameworks/base/core/java"],
    },
    args: metalava_wifi_docs_args,
    defaults: [ "framework-module-stubs-defaults-systemapi" ],
    sdk_version: "core_current",
    libs: ["android_system_stubs_current"],
}