diff --git a/java/droidstubs.go b/java/droidstubs.go index 7ad316fcf..5dc7bc9ab 100644 --- a/java/droidstubs.go +++ b/java/droidstubs.go @@ -472,7 +472,8 @@ func metalavaCmd(ctx android.ModuleContext, rule *android.RuleBuilder, javaVersi Flag("--quiet"). Flag("--format=v2"). FlagWithArg("--repeat-errors-max ", "10"). - FlagWithArg("--hide ", "UnresolvedImport") + FlagWithArg("--hide ", "UnresolvedImport"). + FlagWithArg("--hide ", "InvalidNullability") return cmd }