From 9bdbd30ca84f07fbb2b1e6dabd0ddb5d66bdfaf9 Mon Sep 17 00:00:00 2001 From: Adrian Roos Date: Fri, 7 Dec 2018 13:53:40 +0100 Subject: [PATCH] hiddenapi-mappings: Hide ReferencesHidden errors The hidden API mapping is generated from sources that are not API and the ReferencesHidden rule is therefore not needed. Bug: 119556446 Test: mm hiddenapi-mappings Change-Id: Ifc9efdaadeb0e61d2643230a36df930b21c0ecf4 --- Android.bp | 1 + 1 file changed, 1 insertion(+) diff --git a/Android.bp b/Android.bp index 8023fc5dcaf91..fe9b1d8b3604c 100644 --- a/Android.bp +++ b/Android.bp @@ -1562,6 +1562,7 @@ droidstubs { ], dex_mapping_filename: "dex-mapping.txt", args: metalava_framework_docs_args + + " --hide ReferencesHidden " + " --show-unannotated " + " --show-annotation android.annotation.SystemApi " + " --show-annotation android.annotation.TestApi "