From 814bd9b551e1f4c758c6b009404e9900942b263e Mon Sep 17 00:00:00 2001 From: Cole Faust Date: Wed, 23 Feb 2022 11:11:26 -0800 Subject: Demote EqualsNull error to warning It is used intentially to check how a custom subclass responds to null in this case. Bug: 190944875 Test: Presubmits Change-Id: If9cab7690230980a84a91e62ae30d0445ab8355f --- Android.bp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Android.bp b/Android.bp index 64ae8cd36..729f80ae7 100644 --- a/Android.bp +++ b/Android.bp @@ -41,4 +41,7 @@ java_library_host { "jackson-annotations", "jackson-core", ], + errorprone: { + javacflags: ["-Xep:EqualsNull:WARN"] + } } -- cgit v1.2.3