From ee56c432e0307604495c7a2bddfbf5eeba4787ba Mon Sep 17 00:00:00 2001 From: Cole Faust Date: Thu, 18 Jan 2024 11:36:48 -0800 Subject: [PATCH] Remove strict_updatability_linting: true strict_updatability_linting has been disabled for a while now, due to an expansion in scope of the NewApi check. We're going to re-enable it now, but doing so requires removing it from all modules that have baselined NewApi issues. Bug: 320698986 Test: Presubmits Change-Id: Id6c9202c236f33ad89615e4d5fa5a6364147841a Merged-In: Id6c9202c236f33ad89615e4d5fa5a6364147841a --- Tethering/Android.bp | 14 -------------- framework/Android.bp | 3 --- service/Android.bp | 4 ---- 3 files changed, 21 deletions(-) diff --git a/Tethering/Android.bp b/Tethering/Android.bp index c30e25103d..5ff8d3ccc9 100644 --- a/Tethering/Android.bp +++ b/Tethering/Android.bp @@ -82,7 +82,6 @@ java_defaults { ], manifest: "AndroidManifestBase.xml", lint: { - strict_updatability_linting: true, error_checks: ["NewApi"], }, } @@ -102,9 +101,7 @@ android_library { ], apex_available: ["com.android.tethering"], lint: { - strict_updatability_linting: true, baseline_filename: "lint-baseline.xml", - }, } @@ -121,9 +118,7 @@ android_library { ], apex_available: ["com.android.tethering"], lint: { - strict_updatability_linting: true, baseline_filename: "lint-baseline.xml", - }, } @@ -197,9 +192,6 @@ java_defaults { optimize: { proguard_flags_files: ["proguard.flags"], }, - lint: { - strict_updatability_linting: true, - }, } // Updatable tethering packaged for finalized API @@ -215,10 +207,6 @@ android_app { use_embedded_native_libs: true, privapp_allowlist: ":privapp_allowlist_com.android.tethering", apex_available: ["com.android.tethering"], - lint: { - strict_updatability_linting: true, - - }, } android_app { @@ -235,9 +223,7 @@ android_app { privapp_allowlist: ":privapp_allowlist_com.android.tethering", apex_available: ["com.android.tethering"], lint: { - strict_updatability_linting: true, error_checks: ["NewApi"], - }, } diff --git a/framework/Android.bp b/framework/Android.bp index b7ff04fec1..a1d6a973e6 100644 --- a/framework/Android.bp +++ b/framework/Android.bp @@ -106,9 +106,6 @@ java_defaults { apex_available: [ "com.android.tethering", ], - lint: { - strict_updatability_linting: true, - }, } java_library { diff --git a/service/Android.bp b/service/Android.bp index 0d7e8d0a87..ab85cc1078 100644 --- a/service/Android.bp +++ b/service/Android.bp @@ -201,7 +201,6 @@ java_library { "com.android.tethering", ], lint: { - strict_updatability_linting: true, baseline_filename: "lint-baseline.xml", }, @@ -273,9 +272,6 @@ java_defaults { optimize: { proguard_flags_files: ["proguard.flags"], }, - lint: { - strict_updatability_linting: true, - }, } // A special library created strictly for use by the tests as they need the