Stop suppressing the ChangedDefault error

This will prevent future breakages of this kind, so reenable the check.

Bug: 223382732
Test: m checkapi
Change-Id: I5e67ed45e3a78b90de6884a0d7b0b1c91d58b6f5
This commit is contained in:
Anton Hansson
2023-11-07 15:44:14 +00:00
parent 216ed6c918
commit 59ef1ec1f5

View File

@@ -24,8 +24,6 @@ var (
"--repeat-errors-max 10",
"--hide UnresolvedImport",
"--hide InvalidNullabilityOverride",
// b/223382732
"--hide ChangedDefault",
// Force metalava to ignore classes on the classpath when an API file contains missing classes.
// See b/285140653 for more information.
@@ -54,8 +52,6 @@ var (
"--hide AnnotationExtraction",
// b/222738070
"--hide BannedThrow",
// b/223382732
"--hide ChangedDefault",
}
MetalavaAnnotationsWarningsFlags = strings.Join(metalavaAnnotationsWarningsFlags, " ")