summaryrefslogtreecommitdiff
path: root/app/lint-baseline.xml
blob: ecde9f99aeac2143cea0dd8a1bd4273600b00942 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
<?xml version="1.0" encoding="UTF-8"?>
<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="InlinedApi"
        message="Field requires API level 31 (current min is 26): `android.app.PendingIntent#FLAG_MUTABLE`"
        errorLine1="          PendingIntent.FLAG_CANCEL_CURRENT or PendingIntent.FLAG_MUTABLE,"
        errorLine2="                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="src/main/java/dev/msfjarvis/aps/ui/autofill/AutofillDecryptActivity.kt"
            line="81"
            column="48"/>
    </issue>

    <issue
        id="InlinedApi"
        message="Field requires API level 31 (current min is 26): `android.app.PendingIntent#FLAG_MUTABLE`"
        errorLine1="          PendingIntent.FLAG_CANCEL_CURRENT or PendingIntent.FLAG_MUTABLE,"
        errorLine2="                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="src/main/java/dev/msfjarvis/aps/ui/autofill/AutofillDecryptActivityV2.kt"
            line="70"
            column="48"/>
    </issue>

    <issue
        id="InlinedApi"
        message="Field requires API level 31 (current min is 26): `android.app.PendingIntent#FLAG_MUTABLE`"
        errorLine1="          PendingIntent.FLAG_CANCEL_CURRENT or PendingIntent.FLAG_MUTABLE,"
        errorLine2="                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="src/main/java/dev/msfjarvis/aps/ui/autofill/AutofillFilterView.kt"
            line="77"
            column="48"/>
    </issue>

    <issue
        id="InlinedApi"
        message="Field requires API level 31 (current min is 26): `android.app.PendingIntent#FLAG_MUTABLE`"
        errorLine1="          PendingIntent.FLAG_CANCEL_CURRENT or PendingIntent.FLAG_MUTABLE,"
        errorLine2="                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="src/main/java/dev/msfjarvis/aps/ui/autofill/AutofillPublisherChangedActivity.kt"
            line="57"
            column="48"/>
    </issue>

    <issue
        id="InlinedApi"
        message="Field requires API level 31 (current min is 23): `android.app.PendingIntent#FLAG_MUTABLE`"
        errorLine1="      PendingIntent.FLAG_MUTABLE"
        errorLine2="      ~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="src/main/java/dev/msfjarvis/aps/util/autofill/AutofillViewUtils.kt"
            line="59"
            column="7"/>
    </issue>

    <issue
        id="InlinedApi"
        message="Field requires API level 31 (current min is 23): `android.app.PendingIntent#FLAG_MUTABLE`"
        errorLine1="          PendingIntent.FLAG_UPDATE_CURRENT or PendingIntent.FLAG_MUTABLE"
        errorLine2="                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="src/main/java/dev/msfjarvis/aps/util/services/ClipboardService.kt"
            line="122"
            column="48"/>
    </issue>

    <issue
        id="VectorRaster"
        message="Resource references will not work correctly in images generated for this vector icon for API &lt; 24; check generated icon to make sure it looks acceptable"
        errorLine1="  android:tint=&quot;?attr/colorControlNormal&quot;"
        errorLine2="                ~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="src/main/res/drawable/ic_push_pin_24dp.xml"
            line="4"
            column="17"/>
    </issue>

    <issue
        id="Deprecated"
        message="`android:editable` is deprecated: Use an `&lt;EditText>` to make it editable"
        errorLine1="      android:editable=&quot;false&quot;"
        errorLine2="      ~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="src/main/res/layout/item_field.xml"
            line="24"
            column="7"/>
    </issue>

    <issue
        id="MissingQuantity"
        message="For locale &quot;fr&quot; (French) the following quantities should also be defined: `many`"
        errorLine1="  &lt;plurals name=&quot;delete_title&quot;>"
        errorLine2="  ^">
        <location
            file="src/main/res/values-fr/strings.xml"
            line="7"
            column="3"/>
    </issue>

    <issue
        id="MissingQuantity"
        message="For locale &quot;fr&quot; (French) the following quantities should also be defined: `many`"
        errorLine1="  &lt;plurals name=&quot;delete_dialog_text&quot;>"
        errorLine2="  ^">
        <location
            file="src/main/res/values-fr/strings.xml"
            line="21"
            column="3"/>
    </issue>

    <issue
        id="TrustAllX509TrustManager"
        message="`checkClientTrusted` is empty, which could cause insecure network traffic due to trusting arbitrary TLS/SSL certificates presented by peers">
        <location
            file="org/bouncycastle/est/jcajce/JcaJceUtils$1.class"/>
    </issue>

    <issue
        id="TrustAllX509TrustManager"
        message="`checkServerTrusted` is empty, which could cause insecure network traffic due to trusting arbitrary TLS/SSL certificates presented by peers">
        <location
            file="org/bouncycastle/est/jcajce/JcaJceUtils$1.class"/>
    </issue>

    <issue
        id="TrustAllX509TrustManager"
        message="`checkClientTrusted` is empty, which could cause insecure network traffic due to trusting arbitrary TLS/SSL certificates presented by peers">
        <location
            file="org/bouncycastle/est/jcajce/JcaJceUtils$2.class"/>
    </issue>

    <issue
        id="TrustAllX509TrustManager"
        message="`checkClientTrusted` is empty, which could cause insecure network traffic due to trusting arbitrary TLS/SSL certificates presented by peers">
        <location
            file="org/eclipse/jgit/transport/TransportHttp$DummyX509TrustManager.class"/>
    </issue>

    <issue
        id="TrustAllX509TrustManager"
        message="`checkServerTrusted` is empty, which could cause insecure network traffic due to trusting arbitrary TLS/SSL certificates presented by peers">
        <location
            file="org/eclipse/jgit/transport/TransportHttp$DummyX509TrustManager.class"/>
    </issue>

    <issue
        id="Overdraw"
        message="Possible overdraw: Root element paints background `?android:attr/windowBackground` with a theme that also paints a background (inferred theme is `@style/AppThemeM3`)"
        errorLine1="  android:background=&quot;?android:attr/windowBackground&quot;"
        errorLine2="  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="src/main/res/layout/activity_git_clone.xml"
            line="11"
            column="3"/>
    </issue>

    <issue
        id="Overdraw"
        message="Possible overdraw: Root element paints background `?android:attr/colorBackground` with a theme that also paints a background (inferred theme is `@style/AppThemeM3`)"
        errorLine1="  android:background=&quot;?android:attr/colorBackground&quot;>"
        errorLine2="  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="src/main/res/layout/fragment_clone.xml"
            line="10"
            column="3"/>
    </issue>

    <issue
        id="Overdraw"
        message="Possible overdraw: Root element paints background `?android:attr/colorBackground` with a theme that also paints a background (inferred theme is `@style/AppThemeM3`)"
        errorLine1="  android:background=&quot;?android:attr/colorBackground&quot;"
        errorLine2="  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="src/main/res/layout/fragment_key_selection.xml"
            line="10"
            column="3"/>
    </issue>

    <issue
        id="Overdraw"
        message="Possible overdraw: Root element paints background `?android:attr/colorBackground` with a theme that also paints a background (inferred theme is `@style/AppThemeM3`)"
        errorLine1="  android:background=&quot;?android:attr/colorBackground&quot;"
        errorLine2="  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="src/main/res/layout/fragment_welcome.xml"
            line="10"
            column="3"/>
    </issue>

    <issue
        id="Autofill"
        message="Missing `autofillHints` attribute"
        errorLine1="        &lt;EditText"
        errorLine2="         ~~~~~~~~">
        <location
            file="src/main/res/layout/fragment_pwgen.xml"
            line="90"
            column="10"/>
    </issue>

    <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"
        errorLine2="         ~~~~~~~~">
        <location
            file="src/main/res/layout/fragment_pwgen.xml"
            line="90"
            column="10"/>
    </issue>

    <issue
        id="SetTextI18n"
        message="Do not concatenate text displayed with `setText`. Use resource string with placeholders."
        errorLine1="        warningAppName.text = &quot;“${packageManager.getApplicationLabel(appInfo)}”&quot;"
        errorLine2="                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="src/main/java/dev/msfjarvis/aps/ui/autofill/AutofillPublisherChangedActivity.kt"
            line="110"
            column="31"/>
    </issue>

</issues>