summaryrefslogtreecommitdiff
path: root/java/dexpreopt_test.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2024-08-29 15:35:58 +0100
committer Paul Duffin <paulduffin@google.com> 2024-08-30 15:27:07 +0100
commitc540beef74e30cf30a4a1cc3f250b2ddbe45ad42 (patch)
treec81451d56ec0f468e4b72b9ee42be13c30ae1ef4 /java/dexpreopt_test.go
parent7a2a25492a73b2c031cc862745ff0273918132bb (diff)
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
Diffstat (limited to 'java/dexpreopt_test.go')
0 files changed, 0 insertions, 0 deletions