diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2022-04-24 16:37:57 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2022-04-24 16:47:51 +0530 |
commit | f1556242fa7b5a866477a2f2223ca6321550676b (patch) | |
tree | ada6575afa4d5dc928324b4e182cacb80ebe0ba2 | |
parent | 901845e74519cf0278fda8aba72a4f3399aefc8c (diff) |
app: address ContentDescription lint
-rw-r--r-- | app/lint-baseline.xml | 33 | ||||
-rw-r--r-- | app/lint.xml | 4 |
2 files changed, 4 insertions, 33 deletions
diff --git a/app/lint-baseline.xml b/app/lint-baseline.xml index bbaf877f..d3cdacc4 100644 --- a/app/lint-baseline.xml +++ b/app/lint-baseline.xml @@ -2,39 +2,6 @@ <issues format="6" by="lint 7.1.3" type="baseline" client="gradle" dependencies="false" name="AGP (7.1.3)" variant="all" version="7.1.3"> <issue - id="ContentDescription" - message="Missing `contentDescription` attribute on image" - errorLine1=" <ImageView" - errorLine2=" ~~~~~~~~~"> - <location - file="src/main/res/layout/oreo_autofill_dataset.xml" - line="17" - column="4"/> - </issue> - - <issue - id="ContentDescription" - message="Missing `contentDescription` attribute on image" - errorLine1=" <ImageView" - errorLine2=" ~~~~~~~~~"> - <location - file="src/main/res/layout/oreo_autofill_filter_row.xml" - line="15" - column="4"/> - </issue> - - <issue - id="ContentDescription" - message="Missing `contentDescription` attribute on image" - errorLine1=" <ImageView" - errorLine2=" ~~~~~~~~~"> - <location - file="src/main/res/layout/oreo_autofill_filter_row.xml" - line="57" - column="4"/> - </issue> - - <issue id="LabelFor" message="Missing accessibility label: provide either a view with an `android:labelFor` that references this view or provide an `android:hint`" errorLine1=" <EditText" diff --git a/app/lint.xml b/app/lint.xml index b307a8b4..29ad01f4 100644 --- a/app/lint.xml +++ b/app/lint.xml @@ -3,6 +3,10 @@ ~ SPDX-License-Identifier: GPL-3.0-only --> <lint> + <issue id="ContentDescription"> + <ignore path="src/main/res/layout/oreo_autofill_dataset.xml" /> + <ignore path="src/main/res/layout/oreo_autofill_filter_row.xml" /> + </issue> <issue id="InvalidPackage"> <ignore regexp="X509LDAPCertStoreSpi" /> </issue> |