From cabafdeee05e5d5a84e65f05470235287859451e Mon Sep 17 00:00:00 2001 From: Tor Norbye Date: Thu, 7 Dec 2023 21:57:28 +0000 Subject: 303434307: Enable flagged API checking Also downgrade the new UseSdkSuppress check from error to warning. And temporarily downgrades FlaggedApi from error to warning until existing violations are resolved. Test: The build Bug: 303434307 Change-Id: Id7802621d567815470dee1aeb815abe214f098cd --- java/lint.go | 1 + 1 file changed, 1 insertion(+) (limited to 'java/lint.go') diff --git a/java/lint.go b/java/lint.go index 34720e51d..0b3baf819 100644 --- a/java/lint.go +++ b/java/lint.go @@ -491,6 +491,7 @@ func (l *linter) lint(ctx android.ModuleContext) { cmd.BuiltTool("lint").ImplicitTool(ctx.Config().HostJavaToolPath(ctx, "lint.jar")). Flag("--quiet"). + Flag("--include-aosp-issues"). FlagWithInput("--project ", lintPaths.projectXML). FlagWithInput("--config ", lintPaths.configXML). FlagWithOutput("--html ", html). -- cgit v1.2.3-59-g8ed1b