diff options
author | 2024-08-28 17:37:36 +0100 | |
---|---|---|
committer | 2024-08-28 18:24:02 +0100 | |
commit | 88d3b398469774557d040daee116b38bea0f0312 (patch) | |
tree | d36768fd7cc14308a2db2a46fbacc855c752bd47 /java/testing.go | |
parent | 4b98396c647e1b247c3b50ea723bfecac68a7789 (diff) |
Report UnflaggedApi issues as warnings but treat as errors when new
The `UnflaggedApi` issue is only reported when doing API linting and
defaults to `Severity.HIDDEN` because AndroidX (among other users) do
not support using `@FlaggedApi` annotations. This change switches it to
be warning by default in the Android build as there are some existing
instances of it, but will be treated as an error by the "Build Warnings
Aye Aye Analyzer" in a Gerrit change if it occurs on lines that are
modified/added by that change.
Bug: 361582214
Test: m checkapi
Change-Id: Ie5ed23d00dd49454aeb5b43ccd8ad027d9d34fd2
Diffstat (limited to 'java/testing.go')
0 files changed, 0 insertions, 0 deletions