From 09cb5dbe29e6db49874b120b09fb1071c10c751c Mon Sep 17 00:00:00 2001 From: Sam Gilbert Date: Wed, 6 Oct 2021 11:28:28 -0400 Subject: [PATCH] Disable new ApiLint check temporarily This should be reverted/re-enabled once car-lib no longer throws errors for the method fixed in aosp/1840533 Test: n/a Bug: 144855352 Change-Id: Ifc1a135360d9d357237f5dbe5904f6e77b18a94a --- java/droidstubs.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/java/droidstubs.go b/java/droidstubs.go index f9dcfd668..0992c31ea 100644 --- a/java/droidstubs.go +++ b/java/droidstubs.go @@ -476,7 +476,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 }