From 1a0fa38342845fc7a9b51a9d31721e9e92760752 Mon Sep 17 00:00:00 2001 From: Sam Gilbert Date: Wed, 2 Feb 2022 16:25:04 +0000 Subject: [PATCH] Disable a few metalava checks that platform fails after improvements. Change-Id: Iead8d6a26ba3c75d3612dccc5bebd82c39b5aad8 Tests: none Bug: 217545629 Bug: 217552813 Bug: 217553717 --- java/droidstubs.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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") } }