summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Sam Gilbert <sjgilbert@google.com> 2022-02-02 16:25:04 +0000
committer Sam Gilbert <sjgilbert@google.com> 2022-02-02 17:56:57 +0000
commit1a0fa38342845fc7a9b51a9d31721e9e92760752 (patch)
treef2cc71abb0891a43ce235e17d51e9716d23e6631
parent8af15e02974d356c07722e6dec724e480739a6c7 (diff)
Disable a few metalava checks that platform fails after improvements.
Change-Id: Iead8d6a26ba3c75d3612dccc5bebd82c39b5aad8 Tests: none Bug: 217545629 Bug: 217552813 Bug: 217553717
-rw-r--r--java/droidstubs.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/java/droidstubs.go b/java/droidstubs.go
index 7ad316fcf..f9dcfd668 100644
--- a/java/droidstubs.go
+++ b/java/droidstubs.go
@@ -334,7 +334,11 @@ func (d *Droidstubs) annotationsFlags(ctx android.ModuleContext, cmd *android.Ru
// TODO(tnorbye): find owners to fix these warnings when annotation was enabled.
cmd.FlagWithArg("--hide ", "HiddenTypedefConstant").
FlagWithArg("--hide ", "SuperfluousPrefix").
- FlagWithArg("--hide ", "AnnotationExtraction")
+ FlagWithArg("--hide ", "AnnotationExtraction").
+ // (b/217545629)
+ FlagWithArg("--hide ", "ChangedThrows").
+ // (b/217552813)
+ FlagWithArg("--hide ", "ChangedAbstract")
}
}