Files
build_soong/java
Paul Duffin c540beef74 Retry: Allow modules to override --error-when-new UnflaggedApi
Some `java_sdk_library` and `droidstubs` modules already specify
`--error UnflaggedApi` but they are currently ignored because they are
added before the `--error-when-new UnflaggedApi` automatically added by
Soong and Metalava uses the last setting. That means adding
`--error-when-new UnflaggedApi` in change https://r.android.com/3248013
actually reduced the severity of the issue for those modules making it
more likely that they would be missed.

This change only adds the `--error-when-new UnflaggedApi` if it does
not already appear in the metalava command.

Bug: 361582214
Test: m checkapi
Change-Id: I7228bf9794b1c7e27d7acf7a461956b30f3335f5
2024-08-30 15:27:07 +01:00
..
2024-07-23 10:38:01 +01:00
2024-07-16 19:41:31 +00:00
2024-08-27 16:04:28 -07:00
2024-08-27 16:04:28 -07:00
2024-08-16 22:57:57 +00:00
2024-08-09 16:47:45 -07:00
2024-05-02 15:41:24 -07:00
2024-04-29 17:40:40 +09:00
2024-08-27 16:04:28 -07:00
2024-08-27 16:04:28 -07:00
2024-08-27 15:50:35 -07:00
2024-08-07 14:11:43 -07:00
2024-07-25 12:41:07 -07:00