summaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2023-12-18 11:38:31 +0000
committerPaul Duffin <paulduffin@google.com>2023-12-19 13:45:35 +0000
commit48fefdd2cde1bf0e7f3075c23dbd4cf148f31570 (patch)
treeed7af5406052b9e7b7305fd3cf2bb6c578f8e460 /api
parentce4a43498f694fc5f85fbf684b312713f1840520 (diff)
downloadbase-48fefdd2cde1bf0e7f3075c23dbd4cf148f31570.tar.gz
Remove unnecessary --api-lint-ignore-prefix options
The `--api-lint-ignore-prefix` option adds a package prefix within which API lint checks will be ignored. However, the options are not actually necessary. That is because they are only used in the `android-non-updatable-stubs-defaults` and the non updatable code does not include any source classes from those packages. While modules that do use `android-non-updatable-stubs-defaults` do include classes from those packages on the classpath they are already excluded from having API lint checks performed on them as they do not contribute to the API surface being generated by those modules. Bug: 311690008 Test: m checkapi Change-Id: Ife750c586edc2b5af92c0b5e9211b23345083f69
Diffstat (limited to 'api')
-rw-r--r--api/Android.bp4
1 files changed, 0 insertions, 4 deletions
diff --git a/api/Android.bp b/api/Android.bp
index 179113f9859d..53988cd373b8 100644
--- a/api/Android.bp
+++ b/api/Android.bp
@@ -318,10 +318,6 @@ stubs_defaults {
"framework-protos",
],
flags: [
- "--api-lint-ignore-prefix android.icu.",
- "--api-lint-ignore-prefix java.",
- "--api-lint-ignore-prefix junit.",
- "--api-lint-ignore-prefix org.",
"--error NoSettingsProvider",
"--error UnhiddenSystemApi",
"--error UnflaggedApi",