diff options
author | Artur Satayev <satayev@google.com> | 2020-01-13 16:16:27 +0000 |
---|---|---|
committer | Artur Satayev <satayev@google.com> | 2020-01-13 17:37:52 +0000 |
commit | ffd7f95db94fba1a8dfab34771c748cde01816c9 (patch) | |
tree | c33ab38de15e82351f8db78fcb7cba387cf349bd | |
parent | 2d83e92bbdfe468fc2636ce9c755f7909d5a26d4 (diff) |
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
-rw-r--r-- | ApiDocs.bp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ApiDocs.bp b/ApiDocs.bp index e373db66925f..c40004cf8e5c 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", ], |