From b23b745e19ebe52b00069a21f4eb4353b075805b Mon Sep 17 00:00:00 2001 From: Aurimas Liutikas Date: Mon, 24 May 2021 18:00:37 +0000 Subject: [PATCH] Clarify how metalava @SuppressLint works Bug: 186157121 Change-Id: Ia3316b80dcf16e7fb2a41983732e0be8d0657497 Test: None --- java/droidstubs.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/java/droidstubs.go b/java/droidstubs.go index 566f7e30d..953105603 100644 --- a/java/droidstubs.go +++ b/java/droidstubs.go @@ -546,7 +546,8 @@ func (d *Droidstubs) GenerateAndroidBuildActions(ctx android.ModuleContext) { `\n` + `If it is not possible to do so, there are workarounds:\n` + `\n` + - `1. You can suppress the errors with @SuppressLint("")\n` + `1. You can suppress the errors with @SuppressLint("")\n` + + ` where the is given in brackets in the error message above.\n` if baselineFile.Valid() { cmd.FlagWithInput("--baseline:api-lint ", baselineFile.Path())