diff --git a/service-t/Android.bp b/service-t/Android.bp index dbc89f65c8..7de749ca4d 100644 --- a/service-t/Android.bp +++ b/service-t/Android.bp @@ -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", ], -} +} \ No newline at end of file diff --git a/service/Android.bp b/service/Android.bp index f574e6be85..a65d6649f6 100644 --- a/service/Android.bp +++ b/service/Android.bp @@ -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, }, }