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:
parent
13f6148e22
commit
cff22949d2
1 changed files with 22 additions and 72 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue