aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2022-04-24 16:37:57 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2022-04-24 16:47:51 +0530
commitf1556242fa7b5a866477a2f2223ca6321550676b (patch)
treeada6575afa4d5dc928324b4e182cacb80ebe0ba2
parent901845e74519cf0278fda8aba72a4f3399aefc8c (diff)
app: address ContentDescription lint
-rw-r--r--app/lint-baseline.xml33
-rw-r--r--app/lint.xml4
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=" &lt;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=" &lt;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=" &lt;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=" &lt;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>