Remove framework-connectivity-annotations library

This library can be removed because the annotations are no longer
used out of module.

@RestrictBackgroundStatus and @MultipathPreference are defined
in connectivity mainline module. Annotate these in non-updatable
platform is not going to be manageable long term. For example,
if the module gets updated and the annotation gets more values
then it's a problem in non-updatable platform. So, it should
not have IntDef cross module boundaries.

Ignore-AOSP-First: AOSP doesn't include this change yet
Bug: 183972925
Test: build
Change-Id: I63f1fde73c4ffdaff9fda914e33cbb5a110ba64e
This commit is contained in:
Aaron Huang 2021-05-27 16:31:26 +08:00
commit cff22949d2

View file

@ -55,22 +55,6 @@ filegroup {
],
}
java_library {
name: "framework-connectivity-annotations",
sdk_version: "module_current",
srcs: [
"src/android/net/ConnectivityAnnotations.java",
],
libs: [
"framework-annotations-lib",
"framework-connectivity",
],
visibility: [
"//frameworks/base:__subpackages__",
"//packages/modules/Connectivity:__subpackages__",
],
}
java_sdk_library {
name: "framework-connectivity",
sdk_version: "module_current",