Revert "Enable NewApi lint checks on service-connectivity"

This reverts commit a1145a1fd3.

Reason for revert: fix build failure
Bug: 295779471

Change-Id: Id481aa628e1a1173b8b2c79006843025439b5901
This commit is contained in:
Woody Lin 2023-08-14 04:47:03 +00:00 • committed by Gerrit Code Review
commit 7704e695bf
2 changed files with 2 additions and 7 deletions

View file

@ -68,7 +68,6 @@ java_library {
apex_available: [
"com.android.tethering",
],
lint: { error_checks: ["NewApi"] },
visibility: [
"//frameworks/base/tests/vcn",
"//packages/modules/Connectivity/service",
@ -119,4 +118,4 @@ droidstubs {
visibility: [
"//visibility:private",
],
}
}

View file

@ -195,10 +195,7 @@ java_library {
apex_available: [
"com.android.tethering",
],
lint: {
error_checks: ["NewApi"],
strict_updatability_linting: true,
},
lint: { strict_updatability_linting: true },
visibility: [
"//packages/modules/Connectivity/service-t",
"//packages/modules/Connectivity/tests:__subpackages__",
@ -264,7 +261,6 @@ java_defaults {
proguard_flags_files: ["proguard.flags"],
},
lint: {
error_checks: ["NewApi"],
strict_updatability_linting: true,
},
}