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
This commit is contained in:
Artur Satayev
2020-01-13 16:16:27 +00:00
parent 2d83e92bbd
commit ffd7f95db9

View File

@@ -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",
],