summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Adrian Roos <roosa@google.com> 2018-12-12 15:08:44 +0100
committer Adrian Roos <roosa@google.com> 2018-12-14 13:45:05 +0000
commitc6e2fc87aca11ca4a4588625363f8ced96c7659c (patch)
tree7bd8c010b09284ed87f6e3f4e7f71a499d8e7f03
parent97ee6295e95f1c9e0832100c2a28e1237b405e1c (diff)
API: Enable UnhiddenSystemApi check for frameworks/base
Test: m checkapi Bug: 115333477 Change-Id: I84d454f3495d7ab8e5f0bc2e4c24725f1cd2324f
-rw-r--r--Android.bp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 151adf821ccd..2b6493289704 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1147,6 +1147,7 @@ framework_docs_only_libs = [
metalava_framework_docs_args = "--manifest $(location core/res/AndroidManifest.xml) " +
"--hide-package com.android.okhttp " +
"--hide-package com.android.org.conscrypt --hide-package com.android.server " +
+ "--error UnhiddenSystemApi " +
"--hide RequiresPermission " +
"--hide MissingPermission --hide BroadcastBehavior " +
"--hide HiddenSuperclass --hide DeprecationMismatch --hide UnavailableSymbol " +
@@ -1563,6 +1564,7 @@ droidstubs {
dex_mapping_filename: "dex-mapping.txt",
args: metalava_framework_docs_args +
" --hide ReferencesHidden " +
+ " --hide UnhiddenSystemApi " +
" --show-unannotated " +
" --show-annotation android.annotation.SystemApi " +
" --show-annotation android.annotation.TestApi "