diff options
| -rw-r--r-- | apex/Android.bp | 3 | ||||
| -rw-r--r-- | wifi/Android.bp | 17 |
2 files changed, 4 insertions, 16 deletions
diff --git a/apex/Android.bp b/apex/Android.bp index 85d72c76fb48..56f7db2c8dad 100644 --- a/apex/Android.bp +++ b/apex/Android.bp @@ -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, diff --git a/wifi/Android.bp b/wifi/Android.bp index 26064cbc2fb1..08115ecb6b2b 100644 --- a/wifi/Android.bp +++ b/wifi/Android.bp @@ -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"], } |