Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 48fefdd2 authored by Paul Duffin's avatar Paul Duffin
Browse files

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
parent ce4a4349
Loading
Loading
Loading
Loading
+0 −4
Original line number Original line Diff line number Diff line
@@ -318,10 +318,6 @@ stubs_defaults {
        "framework-protos",
        "framework-protos",
    ],
    ],
    flags: [
    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 NoSettingsProvider",
        "--error UnhiddenSystemApi",
        "--error UnhiddenSystemApi",
        "--error UnflaggedApi",
        "--error UnflaggedApi",