From ffd7f95db94fba1a8dfab34771c748cde01816c9 Mon Sep 17 00:00:00 2001 From: Artur Satayev Date: Mon, 13 Jan 2020 16:16:27 +0000 Subject: [PATCH] Use android.compat.annotation.UnsupportedAppUsage everywhere. The new annotation replaces existing two annotations in libcore/ and frameworks/base/. This helps avoid human confusion and allows better and correct tool support. Bug: 145132366 Test: m Change-Id: I9078b124ddf0273250c645fe17f27088092c8b18 --- ApiDocs.bp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ApiDocs.bp b/ApiDocs.bp index e373db66925f2..c40004cf8e5ca 100644 --- a/ApiDocs.bp +++ b/ApiDocs.bp @@ -121,8 +121,10 @@ framework_docs_only_args = " -android -manifest $(location core/res/AndroidManif doc_defaults { name: "framework-docs-default", - libs: framework_docs_only_libs + - ["stub-annotations"], + libs: framework_docs_only_libs + [ + "stub-annotations", + "unsupportedappusage", + ], html_dirs: [ "docs/html", ],