Use new UnsupportedAppUsage annotation.
Existing annotations in libcore/ and frameworks/ will deleted after the migration. This also means that any java library that compiles @UnsupportedAppUsage requires a direct dependency on "unsupportedappusage" java_library.
Bug: 145132366
Test: m && diff unsupportedappusage_index.csv
Change-Id: Ic6f357d3b88281a58e1e395d285408c46f07b41f
diff --git a/Android.bp b/Android.bp
index e026fee..9cf59d7 100644
--- a/Android.bp
+++ b/Android.bp
@@ -83,6 +83,7 @@
":framework-networkstack-shared-srcs",
":statslog-networkstack-java-gen",
],
+ libs: ["unsupportedappusage"],
static_libs: [
"androidx.annotation_annotation",
"netd_aidl_interface-V2-java",