Bug 1905044 - Add tabbrowser-reviewers, theme-reviewers, sessionstore-reviewers to...
[gecko.git] / mobile / android / fenix / app / lint-baseline.xml
blob90ff452d47d109ae0b985f104a5be67a202914ef
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
3    - License, v. 2.0. If a copy of the MPL was not distributed with this
4    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
5 <issues format="6" by="lint 8.4.0" type="baseline" client="gradle" dependencies="false" name="AGP (8.4.0)" variant="all" version="8.4.0">
7     <issue
8         id="UseGetLayoutInflater"
9         message="Use of LayoutInflater.from(Context) detected. Consider using layoutInflater instead"
10         errorLine1="                val layout = LayoutInflater.from(context)"
11         errorLine2="                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
12         <location
13             file="src/main/java/org/mozilla/fenix/library/history/HistoryFragment.kt"
14             line="429"
15             column="30"/>
16     </issue>
18     <issue
19         id="ScopedStorage"
20         message="READ_EXTERNAL_STORAGE is deprecated (and is not granted) when targeting Android 13+. If you need to query or interact with MediaStore or media files on the shared storage, you should instead use one or more new storage permissions: `READ_MEDIA_IMAGES`, `READ_MEDIA_VIDEO` or `READ_MEDIA_AUDIO`."
21         errorLine1="    &lt;uses-permission android:name=&quot;android.permission.READ_EXTERNAL_STORAGE&quot; />"
22         errorLine2="                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
23         <location
24             file="src/main/AndroidManifest.xml"
25             line="11"
26             column="36"/>
27     </issue>
29     <issue
30         id="ScopedStorage"
31         message="READ_EXTERNAL_STORAGE is deprecated (and is not granted) when targeting Android 13+. If you need to query or interact with MediaStore or media files on the shared storage, you should instead use one or more new storage permissions: `READ_MEDIA_IMAGES`, `READ_MEDIA_VIDEO` or `READ_MEDIA_AUDIO`."
32         errorLine1="    &lt;uses-permission android:name=&quot;android.permission.READ_EXTERNAL_STORAGE&quot; />"
33         errorLine2="                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
34         <location
35             file="src/debug/AndroidManifest.xml"
36             line="20"
37             column="36"/>
38     </issue>
40     <issue
41         id="ScrollViewSize"
42         message="This LinearLayout should use `android:layout_height=&quot;wrap_content&quot;`"
43         errorLine1="        android:layout_height=&quot;match_parent&quot;"
44         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
45         <location
46             file="src/main/res/layout/fragment_save_search_engine.xml"
47             line="17"
48             column="9"/>
49     </issue>
51     <issue
52         id="KotlinNullnessAnnotation"
53         message="Do not use `@NonNull` in Kotlin; the nullability is already implied by the Kotlin type `RecyclerView.ViewHolder` **not** ending with `?`"
54         errorLine1="        @NonNull viewHolder: RecyclerView.ViewHolder,"
55         errorLine2="        ~~~~~~~~">
56         <location
57             file="src/main/java/org/mozilla/fenix/tabstray/browser/DraggableItemAnimator.kt"
58             line="13"
59             column="9"/>
60     </issue>
62     <issue
63         id="KotlinNullnessAnnotation"
64         message="Do not use `@NonNull` in Kotlin; the nullability is already implied by the Kotlin type `RecyclerView.ItemAnimator.ItemHolderInfo` **not** ending with `?`"
65         errorLine1="        @NonNull preLayoutInfo: RecyclerView.ItemAnimator.ItemHolderInfo,"
66         errorLine2="        ~~~~~~~~">
67         <location
68             file="src/main/java/org/mozilla/fenix/tabstray/browser/DraggableItemAnimator.kt"
69             line="14"
70             column="9"/>
71     </issue>
73     <issue
74         id="KotlinNullnessAnnotation"
75         message="Do not use `@NonNull` in Kotlin; the nullability is already implied by the Kotlin type `RecyclerView.ItemAnimator.ItemHolderInfo` **not** ending with `?`"
76         errorLine1="        @NonNull postLayoutInfo: RecyclerView.ItemAnimator.ItemHolderInfo,"
77         errorLine2="        ~~~~~~~~">
78         <location
79             file="src/main/java/org/mozilla/fenix/tabstray/browser/DraggableItemAnimator.kt"
80             line="15"
81             column="9"/>
82     </issue>
84     <issue
85         id="UnusedAttribute"
86         message="Attribute `android:foreground` has no effect on API levels lower than 23 (current min is 21)"
87         errorLine1="    android:foreground=&quot;?android:attr/selectableItemBackground&quot;"
88         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
89         <location
90             file="src/main/res/layout/account_preference.xml"
91             line="8"
92             column="5"/>
93     </issue>
95     <issue
96         id="UnusedAttribute"
97         message="Attribute `android:foreground` has no effect on API levels lower than 23 (current min is 21)"
98         errorLine1="        android:foreground=&quot;@drawable/rounded_ripple&quot;"
99         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
100         <location
101             file="src/main/res/layout/component_collection_creation.xml"
102             line="144"
103             column="9"/>
104     </issue>
106     <issue
107         id="UnusedAttribute"
108         message="Attribute `shortcutId` is only used in API level 25 and higher (current min is 21)"
109         errorLine1="        android:shortcutId=&quot;password_manager&quot;"
110         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
111         <location
112             file="src/debug/res/xml/shortcuts.xml"
113             line="8"
114             column="9"/>
115     </issue>
117     <issue
118         id="UnusedAttribute"
119         message="Attribute `shortcutId` is only used in API level 25 and higher (current min is 21)"
120         errorLine1="        android:shortcutId=&quot;password_manager&quot;"
121         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
122         <location
123             file="src/main/res/xml/shortcuts.xml"
124             line="8"
125             column="9"/>
126     </issue>
128     <issue
129         id="UnusedAttribute"
130         message="Attribute `shortcutShortLabel` is only used in API level 25 and higher (current min is 21)"
131         errorLine1="        android:shortcutShortLabel=&quot;@string/home_screen_shortcut_passwords&quot;>"
132         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
133         <location
134             file="src/debug/res/xml/shortcuts.xml"
135             line="11"
136             column="9"/>
137     </issue>
139     <issue
140         id="UnusedAttribute"
141         message="Attribute `shortcutShortLabel` is only used in API level 25 and higher (current min is 21)"
142         errorLine1="        android:shortcutShortLabel=&quot;@string/home_screen_shortcut_passwords&quot;>"
143         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
144         <location
145             file="src/main/res/xml/shortcuts.xml"
146             line="11"
147             column="9"/>
148     </issue>
150     <issue
151         id="UnusedAttribute"
152         message="Attribute `shortcutId` is only used in API level 25 and higher (current min is 21)"
153         errorLine1="        android:shortcutId=&quot;open_new_tab&quot;"
154         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
155         <location
156             file="src/debug/res/xml/shortcuts.xml"
157             line="18"
158             column="9"/>
159     </issue>
161     <issue
162         id="UnusedAttribute"
163         message="Attribute `shortcutId` is only used in API level 25 and higher (current min is 21)"
164         errorLine1="        android:shortcutId=&quot;open_new_tab&quot;"
165         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
166         <location
167             file="src/main/res/xml/shortcuts.xml"
168             line="18"
169             column="9"/>
170     </issue>
172     <issue
173         id="UnusedAttribute"
174         message="Attribute `shortcutShortLabel` is only used in API level 25 and higher (current min is 21)"
175         errorLine1="        android:shortcutShortLabel=&quot;@string/home_screen_shortcut_open_new_tab_2&quot;>"
176         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
177         <location
178             file="src/debug/res/xml/shortcuts.xml"
179             line="21"
180             column="9"/>
181     </issue>
183     <issue
184         id="UnusedAttribute"
185         message="Attribute `shortcutShortLabel` is only used in API level 25 and higher (current min is 21)"
186         errorLine1="        android:shortcutShortLabel=&quot;@string/home_screen_shortcut_open_new_tab_2&quot;>"
187         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
188         <location
189             file="src/main/res/xml/shortcuts.xml"
190             line="21"
191             column="9"/>
192     </issue>
194     <issue
195         id="UnusedAttribute"
196         message="Attribute `shortcutId` is only used in API level 25 and higher (current min is 21)"
197         errorLine1="        android:shortcutId=&quot;open_new_private_tab&quot;"
198         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
199         <location
200             file="src/debug/res/xml/shortcuts.xml"
201             line="28"
202             column="9"/>
203     </issue>
205     <issue
206         id="UnusedAttribute"
207         message="Attribute `shortcutId` is only used in API level 25 and higher (current min is 21)"
208         errorLine1="        android:shortcutId=&quot;open_new_private_tab&quot;"
209         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
210         <location
211             file="src/main/res/xml/shortcuts.xml"
212             line="28"
213             column="9"/>
214     </issue>
216     <issue
217         id="UnusedAttribute"
218         message="Attribute `shortcutShortLabel` is only used in API level 25 and higher (current min is 21)"
219         errorLine1="        android:shortcutShortLabel=&quot;@string/home_screen_shortcut_open_new_private_tab_2&quot;>"
220         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
221         <location
222             file="src/debug/res/xml/shortcuts.xml"
223             line="31"
224             column="9"/>
225     </issue>
227     <issue
228         id="UnusedAttribute"
229         message="Attribute `shortcutShortLabel` is only used in API level 25 and higher (current min is 21)"
230         errorLine1="        android:shortcutShortLabel=&quot;@string/home_screen_shortcut_open_new_private_tab_2&quot;>"
231         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
232         <location
233             file="src/main/res/xml/shortcuts.xml"
234             line="31"
235             column="9"/>
236     </issue>
238     <issue
239         id="UnusedAttribute"
240         message="Attribute `android:foreground` has no effect on API levels lower than 23 (current min is 21)"
241         errorLine1="    android:foreground=&quot;?android:selectableItemBackground&quot;>"
242         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
243         <location
244             file="src/main/res/layout/tab_tray_item.xml"
245             line="13"
246             column="5"/>
247     </issue>
249     <issue
250         id="AppBundleLocaleChanges"
251         message="Found dynamic locale changes, but did not find corresponding Play Core library calls for downloading languages and splitting by language is not disabled in the `bundle` configuration"
252         errorLine1="        config.setLocale(Locale(&quot;en&quot;))"
253         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
254         <location
255             file="src/main/java/org/mozilla/fenix/ext/Context.kt"
256             line="78"
257             column="9"/>
258     </issue>
260     <issue
261         id="InflateParams"
262         message="Avoid passing `null` as the view root (needed to resolve layout parameters on the inflated layout&apos;s root element)"
263         errorLine1="                .inflate(R.layout.crash_extension_dialog, null, false)"
264         errorLine2="                                                          ~~~~">
265         <location
266             file="src/main/java/org/mozilla/fenix/addons/ExtensionsProcessDisabledForegroundController.kt"
267             line="80"
268             column="59"/>
269     </issue>
271     <issue
272         id="InflateParams"
273         message="Avoid passing `null` as the view root (needed to resolve layout parameters on the inflated layout&apos;s root element)"
274         errorLine1="                    .inflate(R.layout.delete_history_time_range_dialog, null)"
275         errorLine2="                                                                        ~~~~">
276         <location
277             file="src/main/java/org/mozilla/fenix/library/history/HistoryFragment.kt"
278             line="430"
279             column="73"/>
280     </issue>
282     <issue
283         id="IntentFilterUniqueDataAttributes"
284         message="Consider splitting data tag into multiple tags with individual attributes to avoid confusion"
285         errorLine1="                &lt;data android:scheme=&quot;${deepLinkScheme}&quot;"
286         errorLine2="                ^">
287         <location
288             file="src/main/AndroidManifest.xml"
289             line="122"
290             column="17"/>
291     </issue>
293     <issue
294         id="IntentFilterUniqueDataAttributes"
295         message="Consider splitting data tag into multiple tags with individual attributes to avoid confusion"
296         errorLine1="                &lt;data android:scheme=&quot;${deepLinkScheme}&quot;"
297         errorLine2="                ^">
298         <location
299             file="src/main/AndroidManifest.xml"
300             line="124"
301             column="17"/>
302     </issue>
304     <issue
305         id="IntentFilterUniqueDataAttributes"
306         message="Consider splitting data tag into multiple tags with individual attributes to avoid confusion"
307         errorLine1="                &lt;data android:scheme=&quot;${deepLinkScheme}&quot;"
308         errorLine2="                ^">
309         <location
310             file="src/main/AndroidManifest.xml"
311             line="126"
312             column="17"/>
313     </issue>
315     <issue
316         id="IntentFilterUniqueDataAttributes"
317         message="Consider splitting data tag into multiple tags with individual attributes to avoid confusion"
318         errorLine1="                &lt;data android:scheme=&quot;${deepLinkScheme}&quot;"
319         errorLine2="                ^">
320         <location
321             file="src/main/AndroidManifest.xml"
322             line="128"
323             column="17"/>
324     </issue>
326     <issue
327         id="IntentFilterUniqueDataAttributes"
328         message="Consider splitting data tag into multiple tags with individual attributes to avoid confusion"
329         errorLine1="                &lt;data android:scheme=&quot;${deepLinkScheme}&quot;"
330         errorLine2="                ^">
331         <location
332             file="src/main/AndroidManifest.xml"
333             line="130"
334             column="17"/>
335     </issue>
337     <issue
338         id="IntentFilterUniqueDataAttributes"
339         message="Consider splitting data tag into multiple tags with individual attributes to avoid confusion"
340         errorLine1="                &lt;data android:scheme=&quot;${deepLinkScheme}&quot;"
341         errorLine2="                ^">
342         <location
343             file="src/main/AndroidManifest.xml"
344             line="132"
345             column="17"/>
346     </issue>
348     <issue
349         id="IntentFilterUniqueDataAttributes"
350         message="Consider splitting data tag into multiple tags with individual attributes to avoid confusion"
351         errorLine1="                &lt;data android:scheme=&quot;${deepLinkScheme}&quot;"
352         errorLine2="                ^">
353         <location
354             file="src/main/AndroidManifest.xml"
355             line="134"
356             column="17"/>
357     </issue>
359     <issue
360         id="IntentFilterUniqueDataAttributes"
361         message="Consider splitting data tag into multiple tags with individual attributes to avoid confusion"
362         errorLine1="                &lt;data android:scheme=&quot;${deepLinkScheme}&quot;"
363         errorLine2="                ^">
364         <location
365             file="src/main/AndroidManifest.xml"
366             line="136"
367             column="17"/>
368     </issue>
370     <issue
371         id="IntentFilterUniqueDataAttributes"
372         message="Consider splitting data tag into multiple tags with individual attributes to avoid confusion"
373         errorLine1="                &lt;data android:scheme=&quot;${deepLinkScheme}&quot;"
374         errorLine2="                ^">
375         <location
376             file="src/main/AndroidManifest.xml"
377             line="138"
378             column="17"/>
379     </issue>
381     <issue
382         id="IntentFilterUniqueDataAttributes"
383         message="Consider splitting data tag into multiple tags with individual attributes to avoid confusion"
384         errorLine1="                &lt;data android:scheme=&quot;${deepLinkScheme}&quot;"
385         errorLine2="                ^">
386         <location
387             file="src/main/AndroidManifest.xml"
388             line="140"
389             column="17"/>
390     </issue>
392     <issue
393         id="IntentFilterUniqueDataAttributes"
394         message="Consider splitting data tag into multiple tags with individual attributes to avoid confusion"
395         errorLine1="                &lt;data android:scheme=&quot;${deepLinkScheme}&quot;"
396         errorLine2="                ^">
397         <location
398             file="src/main/AndroidManifest.xml"
399             line="142"
400             column="17"/>
401     </issue>
403     <issue
404         id="IntentFilterUniqueDataAttributes"
405         message="Consider splitting data tag into multiple tags with individual attributes to avoid confusion"
406         errorLine1="                &lt;data android:scheme=&quot;${deepLinkScheme}&quot;"
407         errorLine2="                ^">
408         <location
409             file="src/main/AndroidManifest.xml"
410             line="144"
411             column="17"/>
412     </issue>
414     <issue
415         id="IntentFilterUniqueDataAttributes"
416         message="Consider splitting data tag into multiple tags with individual attributes to avoid confusion"
417         errorLine1="                &lt;data android:scheme=&quot;${deepLinkScheme}&quot;"
418         errorLine2="                ^">
419         <location
420             file="src/main/AndroidManifest.xml"
421             line="146"
422             column="17"/>
423     </issue>
425     <issue
426         id="IntentFilterUniqueDataAttributes"
427         message="Consider splitting data tag into multiple tags with individual attributes to avoid confusion"
428         errorLine1="                &lt;data android:scheme=&quot;${deepLinkScheme}&quot;"
429         errorLine2="                ^">
430         <location
431             file="src/main/AndroidManifest.xml"
432             line="148"
433             column="17"/>
434     </issue>
436     <issue
437         id="IntentFilterUniqueDataAttributes"
438         message="Consider splitting data tag into multiple tags with individual attributes to avoid confusion"
439         errorLine1="                &lt;data android:scheme=&quot;${deepLinkScheme}&quot;"
440         errorLine2="                ^">
441         <location
442             file="src/main/AndroidManifest.xml"
443             line="150"
444             column="17"/>
445     </issue>
447     <issue
448         id="IntentFilterUniqueDataAttributes"
449         message="Consider splitting data tag into multiple tags with individual attributes to avoid confusion"
450         errorLine1="                &lt;data android:scheme=&quot;${deepLinkScheme}&quot;"
451         errorLine2="                ^">
452         <location
453             file="src/main/AndroidManifest.xml"
454             line="152"
455             column="17"/>
456     </issue>
458     <issue
459         id="IntentFilterUniqueDataAttributes"
460         message="Consider splitting data tag into multiple tags with individual attributes to avoid confusion"
461         errorLine1="                &lt;data android:scheme=&quot;${deepLinkScheme}&quot;"
462         errorLine2="                ^">
463         <location
464             file="src/main/AndroidManifest.xml"
465             line="154"
466             column="17"/>
467     </issue>
469     <issue
470         id="IntentFilterUniqueDataAttributes"
471         message="Consider splitting data tag into multiple tags with individual attributes to avoid confusion"
472         errorLine1="                &lt;data android:scheme=&quot;${deepLinkScheme}&quot;"
473         errorLine2="                ^">
474         <location
475             file="src/main/AndroidManifest.xml"
476             line="156"
477             column="17"/>
478     </issue>
480     <issue
481         id="InvalidLicenseFormat"
482         message="The license comment must be followed by a newline character"
483         errorLine1=" * file, You can obtain one at http://mozilla.org/MPL/2.0/. */"
484         errorLine2="                                                             ~">
485         <location
486             file="src/main/java/org/mozilla/fenix/translations/TranslationsDialogStore.kt"
487             line="3"
488             column="62"/>
489     </issue>
491     <issue
492         id="NonConstantResourceId"
493         message="Resource IDs will be non-final by default in Android Gradle Plugin version 8.0, avoid using them in const fields"
494         errorLine1="        const val LAYOUT_ID = R.layout.about_list_item"
495         errorLine2="                              ~~~~~~~~~~~~~~~~~~~~~~~~">
496         <location
497             file="src/main/java/org/mozilla/fenix/settings/about/viewholders/AboutItemViewHolder.kt"
498             line="34"
499             column="31"/>
500     </issue>
502     <issue
503         id="NonConstantResourceId"
504         message="Resource IDs will be non-final by default in Android Gradle Plugin version 8.0, avoid using them in const fields"
505         errorLine1="        const val LAYOUT_ID = R.layout.account_share_list_item"
506         errorLine2="                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
507         <location
508             file="src/main/java/org/mozilla/fenix/share/viewholders/AccountDeviceViewHolder.kt"
509             line="61"
510             column="31"/>
511     </issue>
513     <issue
514         id="NonConstantResourceId"
515         message="Resource IDs will be non-final by default in Android Gradle Plugin version 8.0, avoid using them in const fields"
516         errorLine1="        const val LAYOUT_ID = R.layout.app_share_list_item"
517         errorLine2="                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
518         <location
519             file="src/main/java/org/mozilla/fenix/share/viewholders/AppViewHolder.kt"
520             line="38"
521             column="31"/>
522     </issue>
524     <issue
525         id="NonConstantResourceId"
526         message="Resource IDs will be non-final by default in Android Gradle Plugin version 8.0, avoid using them in const fields"
527         errorLine1="        const val LAYOUT_ID = R.layout.bookmark_list_item"
528         errorLine2="                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
529         <location
530             file="src/main/java/org/mozilla/fenix/library/bookmarks/viewholders/BookmarkNodeViewHolder.kt"
531             line="119"
532             column="31"/>
533     </issue>
535     <issue
536         id="NonConstantResourceId"
537         message="Resource IDs will be non-final by default in Android Gradle Plugin version 8.0, avoid using them in const fields"
538         errorLine1="        const val LAYOUT_ID = R.layout.library_separator"
539         errorLine2="                              ~~~~~~~~~~~~~~~~~~~~~~~~~~">
540         <location
541             file="src/main/java/org/mozilla/fenix/library/bookmarks/viewholders/BookmarkSeparatorViewHolder.kt"
542             line="16"
543             column="31"/>
544     </issue>
546     <issue
547         id="NonConstantResourceId"
548         message="Resource IDs will be non-final by default in Android Gradle Plugin version 8.0, avoid using them in const fields"
549         errorLine1="            const val LAYOUT_ID = R.layout.tab_tray_grid_item"
550         errorLine2="                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
551         <location
552             file="src/main/java/org/mozilla/fenix/tabstray/browser/BrowserTabViewHolder.kt"
553             line="75"
554             column="35"/>
555     </issue>
557     <issue
558         id="NonConstantResourceId"
559         message="Resource IDs will be non-final by default in Android Gradle Plugin version 8.0, avoid using them in const fields"
560         errorLine1="            const val LAYOUT_ID = R.layout.tab_tray_item"
561         errorLine2="                                  ~~~~~~~~~~~~~~~~~~~~~~">
562         <location
563             file="src/main/java/org/mozilla/fenix/tabstray/browser/BrowserTabViewHolder.kt"
564             line="119"
565             column="35"/>
566     </issue>
568     <issue
569         id="NonConstantResourceId"
570         message="Resource IDs will be non-final by default in Android Gradle Plugin version 8.0, avoid using them in const fields"
571         errorLine1="        const val LAYOUT_ID = R.layout.collection_tab_list_row"
572         errorLine2="                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
573         <location
574             file="src/main/java/org/mozilla/fenix/collections/CollectionCreationTabListAdapter.kt"
575             line="119"
576             column="31"/>
577     </issue>
579     <issue
580         id="NonConstantResourceId"
581         message="Resource IDs will be non-final by default in Android Gradle Plugin version 8.0, avoid using them in const fields"
582         errorLine1="        const val LAYOUT_ID = R.layout.credit_card_list_item"
583         errorLine2="                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
584         <location
585             file="src/main/java/org/mozilla/fenix/settings/creditcards/view/CreditCardItemViewHolder.kt"
586             line="59"
587             column="31"/>
588     </issue>
590     <issue
591         id="NonConstantResourceId"
592         message="Resource IDs will be non-final by default in Android Gradle Plugin version 8.0, avoid using them in const fields"
593         errorLine1="        const val LAYOUT_ID = R.layout.component_credit_cards"
594         errorLine2="                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
595         <location
596             file="src/main/java/org/mozilla/fenix/settings/creditcards/view/CreditCardsManagementView.kt"
597             line="44"
598             column="31"/>
599     </issue>
601     <issue
602         id="NonConstantResourceId"
603         message="Resource IDs will be non-final by default in Android Gradle Plugin version 8.0, avoid using them in const fields"
604         errorLine1="        const val LAYOUT_ID = R.layout.download_list_item"
605         errorLine2="                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
606         <location
607             file="src/main/java/org/mozilla/fenix/library/downloads/viewholders/DownloadsListItemViewHolder.kt"
608             line="85"
609             column="31"/>
610     </issue>
612     <issue
613         id="NonConstantResourceId"
614         message="Resource IDs will be non-final by default in Android Gradle Plugin version 8.0, avoid using them in const fields"
615         errorLine1="        const val LAYOUT_ID = R.layout.exceptions_description"
616         errorLine2="                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
617         <location
618             file="src/main/java/org/mozilla/fenix/exceptions/viewholders/ExceptionsHeaderViewHolder.kt"
619             line="28"
620             column="31"/>
621     </issue>
623     <issue
624         id="NonConstantResourceId"
625         message="Resource IDs will be non-final by default in Android Gradle Plugin version 8.0, avoid using them in const fields"
626         errorLine1="        const val LAYOUT_ID = R.layout.site_list_item"
627         errorLine2="                              ~~~~~~~~~~~~~~~~~~~~~~~">
628         <location
629             file="src/main/java/org/mozilla/fenix/exceptions/viewholders/ExceptionsListItemViewHolder.kt"
630             line="42"
631             column="31"/>
632     </issue>
634     <issue
635         id="NonConstantResourceId"
636         message="Resource IDs will be non-final by default in Android Gradle Plugin version 8.0, avoid using them in const fields"
637         errorLine1="        const val LAYOUT_ID = R.layout.history_list_item"
638         errorLine2="                              ~~~~~~~~~~~~~~~~~~~~~~~~~~">
639         <location
640             file="src/main/java/org/mozilla/fenix/library/history/viewholders/HistoryListItemViewHolder.kt"
641             line="158"
642             column="31"/>
643     </issue>
645     <issue
646         id="NonConstantResourceId"
647         message="Resource IDs will be non-final by default in Android Gradle Plugin version 8.0, avoid using them in const fields"
648         errorLine1="        const val LAYOUT_ID = R.layout.history_metadata_group_list_item"
649         errorLine2="                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
650         <location
651             file="src/main/java/org/mozilla/fenix/library/historymetadata/view/HistoryMetadataGroupItemViewHolder.kt"
652             line="70"
653             column="31"/>
654     </issue>
656     <issue
657         id="NonConstantResourceId"
658         message="Resource IDs will be non-final by default in Android Gradle Plugin version 8.0, avoid using them in const fields"
659         errorLine1="        const val LAYOUT_ID = R.layout.no_collections_message"
660         errorLine2="                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
661         <location
662             file="src/main/java/org/mozilla/fenix/home/sessioncontrol/viewholders/NoCollectionsMessageViewHolder.kt"
663             line="108"
664             column="31"/>
665     </issue>
667     <issue
668         id="NonConstantResourceId"
669         message="Resource IDs will be non-final by default in Android Gradle Plugin version 8.0, avoid using them in const fields"
670         errorLine1="        const val LAYOUT_ID = R.layout.normal_browser_tray_list"
671         errorLine2="                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
672         <location
673             file="src/main/java/org/mozilla/fenix/tabstray/viewholders/NormalBrowserPageViewHolder.kt"
674             line="160"
675             column="31"/>
676     </issue>
678     <issue
679         id="NonConstantResourceId"
680         message="Resource IDs will be non-final by default in Android Gradle Plugin version 8.0, avoid using them in const fields"
681         errorLine1="        const val LAYOUT_ID = R.layout.private_browser_tray_list"
682         errorLine2="                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
683         <location
684             file="src/main/java/org/mozilla/fenix/tabstray/viewholders/PrivateBrowserPageViewHolder.kt"
685             line="59"
686             column="31"/>
687     </issue>
689     <issue
690         id="NonConstantResourceId"
691         message="Resource IDs will be non-final by default in Android Gradle Plugin version 8.0, avoid using them in const fields"
692         errorLine1="        const val LAYOUT_ID = R.layout.history_list_item"
693         errorLine2="                              ~~~~~~~~~~~~~~~~~~~~~~~~~~">
694         <location
695             file="src/main/java/org/mozilla/fenix/library/recentlyclosed/RecentlyClosedItemViewHolder.kt"
696             line="63"
697             column="31"/>
698     </issue>
700     <issue
701         id="NonConstantResourceId"
702         message="Resource IDs will be non-final by default in Android Gradle Plugin version 8.0, avoid using them in const fields"
703         errorLine1="        const val LAYOUT_ID = R.layout.collections_list_item"
704         errorLine2="                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
705         <location
706             file="src/main/java/org/mozilla/fenix/collections/SaveCollectionListAdapter.kt"
707             line="63"
708             column="31"/>
709     </issue>
711     <issue
712         id="NonConstantResourceId"
713         message="Resource IDs will be non-final by default in Android Gradle Plugin version 8.0, avoid using them in const fields"
714         errorLine1="        const val LAYOUT_ID = R.layout.top_placeholder_item"
715         errorLine2="                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
716         <location
717             file="src/main/java/org/mozilla/fenix/home/TopPlaceholderViewHolder.kt"
718             line="22"
719             column="31"/>
720     </issue>
722     <issue
723         id="NonConstantResourceId"
724         message="Resource IDs will be non-final by default in Android Gradle Plugin version 8.0, avoid using them in const fields"
725         errorLine1="        const val LAYOUT_ID = R.layout.top_site_item"
726         errorLine2="                              ~~~~~~~~~~~~~~~~~~~~~~">
727         <location
728             file="src/main/java/org/mozilla/fenix/home/topsites/TopSiteItemViewHolder.kt"
729             line="216"
730             column="31"/>
731     </issue>
733     <issue
734         id="NonConstantResourceId"
735         message="Resource IDs will be non-final by default in Android Gradle Plugin version 8.0, avoid using them in const fields"
736         errorLine1="        const val LAYOUT_ID = R.layout.component_top_sites_pager"
737         errorLine2="                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
738         <location
739             file="src/main/java/org/mozilla/fenix/home/topsites/TopSitePagerViewHolder.kt"
740             line="80"
741             column="31"/>
742     </issue>
744     <issue
745         id="NonConstantResourceId"
746         message="Resource IDs will be non-final by default in Android Gradle Plugin version 8.0, avoid using them in const fields"
747         errorLine1="        const val LAYOUT_ID = R.layout.component_top_sites"
748         errorLine2="                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
749         <location
750             file="src/main/java/org/mozilla/fenix/home/topsites/TopSiteViewHolder.kt"
751             line="42"
752             column="31"/>
753     </issue>
755     <issue
756         id="RedundantLabel"
757         message="Redundant label can be removed"
758         errorLine1="            android:label=&quot;@string/app_name&quot;"
759         errorLine2="            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
760         <location
761             file="src/main/AndroidManifest.xml"
762             line="172"
763             column="13"/>
764     </issue>
766     <issue
767         id="VectorRaster"
768         message="Limit vector icons sizes to 200×200 to keep icon drawing fast; see https://developer.android.com/studio/write/vector-asset-studio#when for more"
769         errorLine1="    android:width=&quot;973dp&quot;"
770         errorLine2="                   ~~~~~">
771         <location
772             file="src/main/res/drawable/ic_notification_permission.xml"
773             line="7"
774             column="20"/>
775     </issue>
777     <issue
778         id="VectorRaster"
779         message="Limit vector icons sizes to 200×200 to keep icon drawing fast; see https://developer.android.com/studio/write/vector-asset-studio#when for more"
780         errorLine1="&lt;vector xmlns:aapt=&quot;http://schemas.android.com/aapt&quot; xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; android:height=&quot;320dp&quot; android:viewportHeight=&quot;193.94&quot; android:viewportWidth=&quot;200&quot; android:width=&quot;329.99896dp&quot;>"
781         errorLine2="                                                                                                                                ~~~~~">
782         <location
783             file="src/main/res/drawable/ic_onboarding_key_features.xml"
784             line="1"
785             column="129"/>
786     </issue>
788     <issue
789         id="VectorRaster"
790         message="Limit vector icons sizes to 200×200 to keep icon drawing fast; see https://developer.android.com/studio/write/vector-asset-studio#when for more"
791         errorLine1="&lt;vector xmlns:aapt=&quot;http://schemas.android.com/aapt&quot; xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; android:height=&quot;320dp&quot; android:viewportHeight=&quot;193.94&quot; android:viewportWidth=&quot;200&quot; android:width=&quot;329.99896dp&quot;>"
792         errorLine2="                                                                                                                                ~~~~~">
793         <location
794             file="src/main/res/drawable/ic_onboarding_key_features_icons_only.xml"
795             line="1"
796             column="129"/>
797     </issue>
799     <issue
800         id="VectorRaster"
801         message="Limit vector icons sizes to 200×200 to keep icon drawing fast; see https://developer.android.com/studio/write/vector-asset-studio#when for more"
802         errorLine1="    android:width=&quot;312dp&quot;"
803         errorLine2="                   ~~~~~">
804         <location
805             file="src/main/res/drawable/ic_onboarding_search_widget.xml"
806             line="7"
807             column="20"/>
808     </issue>
810     <issue
811         id="VectorRaster"
812         message="Limit vector icons sizes to 200×200 to keep icon drawing fast; see https://developer.android.com/studio/write/vector-asset-studio#when for more"
813         errorLine1="&lt;vector xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; xmlns:aapt=&quot;http://schemas.android.com/aapt&quot; android:width=&quot;235dp&quot; android:height=&quot;298dp&quot; android:viewportWidth=&quot;235&quot; android:viewportHeight=&quot;298&quot;>"
814         errorLine2="                                                                                                                               ~~~~~">
815         <location
816             file="src/main/res/drawable/ic_onboarding_sync.xml"
817             line="5"
818             column="128"/>
819     </issue>
821     <issue
822         id="VectorRaster"
823         message="Limit vector icons sizes to 200×200 to keep icon drawing fast; see https://developer.android.com/studio/write/vector-asset-studio#when for more"
824         errorLine1="&lt;vector xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; xmlns:aapt=&quot;http://schemas.android.com/aapt&quot; android:width=&quot;223dp&quot; android:height=&quot;345dp&quot; android:viewportWidth=&quot;223&quot; android:viewportHeight=&quot;345&quot;>"
825         errorLine2="                                                                                                                               ~~~~~">
826         <location
827             file="src/main/res/drawable/ic_onboarding_welcome.xml"
828             line="5"
829             column="128"/>
830     </issue>
832     <issue
833         id="VectorRaster"
834         message="Limit vector icons sizes to 200×200 to keep icon drawing fast; see https://developer.android.com/studio/write/vector-asset-studio#when for more"
835         errorLine1="    android:width=&quot;316dp&quot;"
836         errorLine2="                   ~~~~~">
837         <location
838             file="src/main/res/drawable-night/onboarding_ctd_default_browser.xml"
839             line="2"
840             column="20"/>
841     </issue>
843     <issue
844         id="VectorRaster"
845         message="Limit vector icons sizes to 200×200 to keep icon drawing fast; see https://developer.android.com/studio/write/vector-asset-studio#when for more"
846         errorLine1="    android:width=&quot;316dp&quot;"
847         errorLine2="                   ~~~~~">
848         <location
849             file="src/main/res/drawable/onboarding_ctd_default_browser.xml"
850             line="2"
851             column="20"/>
852     </issue>
854     <issue
855         id="VectorRaster"
856         message="Limit vector icons sizes to 200×200 to keep icon drawing fast; see https://developer.android.com/studio/write/vector-asset-studio#when for more"
857         errorLine1="    android:width=&quot;317dp&quot;"
858         errorLine2="                   ~~~~~">
859         <location
860             file="src/main/res/drawable/onboarding_ctd_notification.xml"
861             line="2"
862             column="20"/>
863     </issue>
865     <issue
866         id="VectorRaster"
867         message="Limit vector icons sizes to 200×200 to keep icon drawing fast; see https://developer.android.com/studio/write/vector-asset-studio#when for more"
868         errorLine1="    android:width=&quot;309dp&quot;"
869         errorLine2="                   ~~~~~">
870         <location
871             file="src/main/res/drawable/onboarding_ctd_sync.xml"
872             line="2"
873             column="20"/>
874     </issue>
876     <issue
877         id="VisibleForTests"
878         message="This declaration implicitly references Country, which should only be accessed from tests or within private scope"
879         errorLine1="            countries.values.map { it.displayName },"
880         errorLine2="                                 ~~~~~~~~~~~~~~~~~~">
881         <location
882             file="src/main/java/org/mozilla/fenix/settings/address/view/AddressEditorView.kt"
883             line="126"
884             column="34"/>
885     </issue>
887     <issue
888         id="VisibleForTests"
889         message="This declaration implicitly references Country, which should only be accessed from tests or within private scope"
890         errorLine1="            .indexOfFirst { it.countryCode == selectedCountryKey }"
891         errorLine2="                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
892         <location
893             file="src/main/java/org/mozilla/fenix/settings/address/view/AddressEditorView.kt"
894             line="134"
895             column="27"/>
896     </issue>
898     <issue
899         id="VisibleForTests"
900         message="This declaration implicitly references Country, which should only be accessed from tests or within private scope"
901         errorLine1="                countries[newCountryKey]?.let { country ->"
902         errorLine2="                                                ~~~~~~~">
903         <location
904             file="src/main/java/org/mozilla/fenix/settings/address/view/AddressEditorView.kt"
905             line="148"
906             column="49"/>
907     </issue>
909     <issue
910         id="VisibleForTests"
911         message="This declaration implicitly references Country, which should only be accessed from tests or within private scope"
912         errorLine1="                countries[newCountryKey]?.let { country ->"
913         errorLine2="                                                ~~~~~~~">
914         <location
915             file="src/main/java/org/mozilla/fenix/settings/address/view/AddressEditorView.kt"
916             line="148"
917             column="49"/>
918     </issue>
920     <issue
921         id="VisibleForTests"
922         message="This declaration implicitly references Country, which should only be accessed from tests or within private scope"
923         errorLine1="        countries[selectedCountryKey]?.let { country ->"
924         errorLine2="                                             ~~~~~~~">
925         <location
926             file="src/main/java/org/mozilla/fenix/settings/address/view/AddressEditorView.kt"
927             line="156"
928             column="46"/>
929     </issue>
931     <issue
932         id="VisibleForTests"
933         message="This class should only be accessed from tests or within private scope"
934         errorLine1="    private fun bindSubregionDropdown(country: Country) {"
935         errorLine2="                                               ~~~~~~~">
936         <location
937             file="src/main/java/org/mozilla/fenix/settings/address/view/AddressEditorView.kt"
938             line="161"
939             column="48"/>
940     </issue>
942     <issue
943         id="VisibleForTests"
944         message="This method should only be accessed from tests or within private scope"
945         errorLine1="                recentTabs = state.recentTabs.filterOutTab(action.recentTab),"
946         errorLine2="                                              ~~~~~~~~~~~~">
947         <location
948             file="src/main/java/org/mozilla/fenix/components/appstate/AppStoreReducer.kt"
949             line="76"
950             column="47"/>
951     </issue>
953     <issue
954         id="VisibleForTests"
955         message="This method should only be accessed from tests or within private scope"
956         errorLine1="                selected = getCurrentTab()?.let {"
957         errorLine2="                           ~~~~~~~~~~~~~">
958         <location
959             file="src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt"
960             line="139"
961             column="28"/>
962     </issue>
964     <issue
965         id="VisibleForTests"
966         message="This method should only be accessed from tests or within private scope"
967         errorLine1="                if (it == getCurrentTab()?.id) {"
968         errorLine2="                          ~~~~~~~~~~~~~">
969         <location
970             file="src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt"
971             line="222"
972             column="27"/>
973     </issue>
975     <issue
976         id="VisibleForTests"
977         message="This method should only be accessed from tests or within private scope"
978         errorLine1="                    getCurrentTab()?.content?.loading == false"
979         errorLine2="                    ~~~~~~~~~~~~~">
980         <location
981             file="src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt"
982             line="328"
983             column="21"/>
984     </issue>
986     <issue
987         id="VisibleForTests"
988         message="This method should only be accessed from tests or within private scope"
989         errorLine1="                    if (getCurrentTab()?.content?.loading == true) {"
990         errorLine2="                        ~~~~~~~~~~~~~">
991         <location
992             file="src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt"
993             line="343"
994             column="25"/>
995     </issue>
997     <issue
998         id="VisibleForTests"
999         message="This method should only be accessed from tests or within private scope"
1000         errorLine1="        getCurrentTab()?.let { tab ->"
1001         errorLine2="        ~~~~~~~~~~~~~">
1002         <location
1003             file="src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt"
1004             line="719"
1005             column="9"/>
1006     </issue>
1008     <issue
1009         id="VisibleForTests"
1010         message="This method should only be accessed from tests or within private scope"
1011         errorLine1="            (binding.root.layoutParams as CoordinatorLayout.LayoutParams).behavior = DynamicInfoBannerBehavior("
1012         errorLine2="             ~~~~~~~">
1013         <location
1014             file="src/main/java/org/mozilla/fenix/browser/infobanner/DynamicInfoBanner.kt"
1015             line="49"
1016             column="14"/>
1017     </issue>
1019     <issue
1020         id="VisibleForTests"
1021         message="This method should only be accessed from tests or within private scope"
1022         errorLine1="    view.elevation = ELEVATION"
1023         errorLine2="                     ~~~~~~~~~">
1024         <location
1025             file="src/main/java/org/mozilla/fenix/tabstray/ext/FenixSnackbar.kt"
1026             line="51"
1027             column="22"/>
1028     </issue>
1030     <issue
1031         id="VisibleForTests"
1032         message="This method should only be accessed from tests or within private scope"
1033         errorLine1="    view.elevation = ELEVATION"
1034         errorLine2="                     ~~~~~~~~~">
1035         <location
1036             file="src/main/java/org/mozilla/fenix/tabstray/ext/FenixSnackbar.kt"
1037             line="51"
1038             column="22"/>
1039     </issue>
1041     <issue
1042         id="VisibleForTests"
1043         message="This method should only be accessed from tests or within private scope"
1044         errorLine1="        snackbar.view.elevation = TabsTrayFragment.ELEVATION"
1045         errorLine2="                                                   ~~~~~~~~~">
1046         <location
1047             file="src/main/java/org/mozilla/fenix/tabstray/browser/InactiveTabViewHolder.kt"
1048             line="95"
1049             column="52"/>
1050     </issue>
1052     <issue
1053         id="VisibleForTests"
1054         message="This method should only be accessed from tests or within private scope"
1055         errorLine1="        snackbar.view.elevation = TabsTrayFragment.ELEVATION"
1056         errorLine2="                                                   ~~~~~~~~~">
1057         <location
1058             file="src/main/java/org/mozilla/fenix/tabstray/browser/InactiveTabViewHolder.kt"
1059             line="95"
1060             column="52"/>
1061     </issue>
1063     <issue
1064         id="VisibleForTests"
1065         message="This method should only be accessed from tests or within private scope"
1066         errorLine1="        binding.exceptionsLearnMore.isVisible = false"
1067         errorLine2="        ~~~~~~~">
1068         <location
1069             file="src/main/java/org/mozilla/fenix/exceptions/login/LoginExceptionsView.kt"
1070             line="21"
1071             column="9"/>
1072     </issue>
1074     <issue
1075         id="VisibleForTests"
1076         message="This method should only be accessed from tests or within private scope"
1077         errorLine1="        binding.exceptionsEmptyMessage.text ="
1078         errorLine2="        ~~~~~~~">
1079         <location
1080             file="src/main/java/org/mozilla/fenix/exceptions/login/LoginExceptionsView.kt"
1081             line="22"
1082             column="9"/>
1083     </issue>
1085     <issue
1086         id="VisibleForTests"
1087         message="This method should only be accessed from tests or within private scope"
1088         errorLine1="        binding.exceptionsList.apply {"
1089         errorLine2="        ~~~~~~~">
1090         <location
1091             file="src/main/java/org/mozilla/fenix/exceptions/login/LoginExceptionsView.kt"
1092             line="27"
1093             column="9"/>
1094     </issue>
1096     <issue
1097         id="VisibleForTests"
1098         message="This method should only be accessed from tests or within private scope"
1099         errorLine1="                    it.items.size >= SEARCH_GROUP_MINIMUM_SITES"
1100         errorLine2="                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~">
1101         <location
1102             file="src/main/java/org/mozilla/fenix/components/history/PagedHistoryProvider.kt"
1103             line="133"
1104             column="38"/>
1105     </issue>
1107     <issue
1108         id="VisibleForTests"
1109         message="This method should only be accessed from tests or within private scope"
1110         errorLine1="            tabsAction.updateCount(tabCount)"
1111         errorLine2="                       ~~~~~~~~~~~">
1112         <location
1113             file="src/main/java/org/mozilla/fenix/components/toolbar/ToolbarIntegration.kt"
1114             line="164"
1115             column="24"/>
1116     </issue>
1118     <issue
1119         id="VisibleForTests"
1120         message="This method should only be accessed from tests or within private scope"
1121         errorLine1="        binding.exceptionsList.apply {"
1122         errorLine2="        ~~~~~~~">
1123         <location
1124             file="src/main/java/org/mozilla/fenix/exceptions/trackingprotection/TrackingProtectionExceptionsView.kt"
1125             line="21"
1126             column="9"/>
1127     </issue>
1129     <issue
1130         id="VisibleForTests"
1131         message="This method should only be accessed from tests or within private scope"
1132         errorLine1="        with(binding.exceptionsLearnMore) {"
1133         errorLine2="             ~~~~~~~">
1134         <location
1135             file="src/main/java/org/mozilla/fenix/exceptions/trackingprotection/TrackingProtectionExceptionsView.kt"
1136             line="25"
1137             column="14"/>
1138     </issue>
1140     <issue
1141         id="ComposableNaming"
1142         message="Composable functions with a return type should start with a lowercase letter"
1143         errorLine1="fun EagerFlingBehavior("
1144         errorLine2="    ~~~~~~~~~~~~~~~~~~">
1145         <location
1146             file="src/main/java/org/mozilla/fenix/compose/LazyListEagerFlingBehavior.kt"
1147             line="21"
1148             column="5"/>
1149     </issue>
1151     <issue
1152         id="ComposableNaming"
1153         message="Composable functions that return Unit should start with an uppercase letter"
1154         errorLine1="    fun composeRunIfWallpaperCardColorsAreAvailable("
1155         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1156         <location
1157             file="src/main/java/org/mozilla/fenix/wallpapers/WallpaperState.kt"
1158             line="50"
1159             column="9"/>
1160     </issue>
1162     <issue
1163         id="ModifierParameter"
1164         message="Optional Modifier parameter should have a default value of `Modifier`"
1165         errorLine1="    modifier: Modifier = Modifier.fillMaxWidth(),"
1166         errorLine2="    ~~~~~~~~">
1167         <location
1168             file="src/main/java/org/mozilla/fenix/compose/button/Button.kt"
1169             line="110"
1170             column="5"/>
1171     </issue>
1173     <issue
1174         id="ModifierParameter"
1175         message="Optional Modifier parameter should have a default value of `Modifier`"
1176         errorLine1="    modifier: Modifier = Modifier.fillMaxWidth(),"
1177         errorLine2="    ~~~~~~~~">
1178         <location
1179             file="src/main/java/org/mozilla/fenix/compose/button/Button.kt"
1180             line="159"
1181             column="5"/>
1182     </issue>
1184     <issue
1185         id="ModifierParameter"
1186         message="Optional Modifier parameter should have a default value of `Modifier`"
1187         errorLine1="    modifier: Modifier = Modifier.fillMaxWidth(),"
1188         errorLine2="    ~~~~~~~~">
1189         <location
1190             file="src/main/java/org/mozilla/fenix/compose/button/Button.kt"
1191             line="196"
1192             column="5"/>
1193     </issue>
1195     <issue
1196         id="ModifierParameter"
1197         message="Optional Modifier parameter should have a default value of `Modifier`"
1198         errorLine1="    modifier: Modifier = Modifier.fillMaxWidth(),"
1199         errorLine2="    ~~~~~~~~">
1200         <location
1201             file="src/main/java/org/mozilla/fenix/compose/button/Button.kt"
1202             line="233"
1203             column="5"/>
1204     </issue>
1206     <issue
1207         id="ModifierParameter"
1208         message="Modifier parameter should be the first optional parameter"
1209         errorLine1="    modifier: Modifier = Modifier,"
1210         errorLine2="    ~~~~~~~~">
1211         <location
1212             file="src/main/java/org/mozilla/fenix/compose/SwitchWithLabel.kt"
1213             line="51"
1214             column="5"/>
1215     </issue>
1217     <issue
1218         id="DiscouragedApi"
1219         message="Use of this function is discouraged because resource reflection makes it harder to perform build optimizations and compile-time verification of code. It is much more efficient to retrieve resources by identifier (e.g. `R.foo.bar`) than by name (e.g. `getIdentifier(&quot;bar&quot;, &quot;foo&quot;, null)`)."
1220         errorLine1="        val resId = context.resources.getIdentifier(projectIdKey, &quot;string&quot;, context.packageName)"
1221         errorLine2="                                      ~~~~~~~~~~~~~">
1222         <location
1223             file="src/main/java/org/mozilla/fenix/components/Push.kt"
1224             line="38"
1225             column="39"/>
1226     </issue>
1228     <issue
1229         id="Typos"
1230         message="&quot;internett&quot; is usually capitalized as &quot;Internett&quot;"
1231         errorLine1="    &lt;string name=&quot;private_browsing_placeholder_description_2&quot;>%1$s fjerner søk- og nettleserhistorikken fra private nettlesingsfaner nÃ¥r du lukker dem eller avslutter appen. Selv om dette ikke gjør deg anonym for nettsteder eller internett-leverandøren din, vil det gjøre det lettere"
1232         errorLine2="                                                                                                                                                                                                                                      ^">
1233         <location
1234             file="src/main/res/values-nb-rNO/strings.xml"
1235             line="64"
1236             column="231"/>
1237     </issue>
1239     <issue
1240         id="Typos"
1241         message="&quot;internett&quot; is usually capitalized as &quot;Internett&quot;"
1242         errorLine1="    &lt;string name=&quot;onboarding_home_welcome_title_2&quot;>Velkommen til et mer personlig internett&lt;/string>"
1243         errorLine2="                                                                                  ^">
1244         <location
1245             file="src/main/res/values-nb-rNO/strings.xml"
1246             line="326"
1247             column="83"/>
1248     </issue>
1250     <issue
1251         id="Typos"
1252         message="Repeated word &quot;zaman&quot; in message: possible typo"
1253         errorLine1="    &lt;string name=&quot;studies_description_2&quot;>%1$s zaman zaman araÅŸtırmalar yükleyip Ã§alıştırabilir.&lt;/string>"
1254         errorLine2="                                              ^">
1255         <location
1256             file="src/main/res/values-tr/strings.xml"
1257             line="1009"
1258             column="47"/>
1259     </issue>
1261     <issue
1262         id="Typos"
1263         message="&quot;A a&quot; is a common misspelling; did you mean &quot;A&quot;?"
1264         errorLine1="    &lt;string name=&quot;review_quality_check_info_review_grade_header&quot;>&lt;![CDATA[Atribuímos Ã s avaliações de cada produto uma &lt;b>classificação baseada em letras&lt;/b> de A a F.]]&gt;&lt;/string>"
1265         errorLine2="                                                                                                                                                                 ^">
1266         <location
1267             file="src/main/res/values-pt-rPT/strings.xml"
1268             line="2336"
1269             column="162"/>
1270     </issue>
1272     <issue
1273         id="Typos"
1274         message="&quot;A a&quot; is a common misspelling; did you mean &quot;A&quot;?"
1275         errorLine1="    &lt;string name=&quot;review_quality_check_info_review_grade_header&quot;>&lt;![CDATA[Atribuímos Ã s avaliações de cada produto uma &lt;b>nota com letra&lt;/b> de A a F.]]&gt;&lt;/string>"
1276         errorLine2="                                                                                                                                                ^">
1277         <location
1278             file="src/main/res/values-pt-rBR/strings.xml"
1279             line="2339"
1280             column="145"/>
1281     </issue>
1283     <issue
1284         id="NotifyUsage"
1285         message="Using Android NOTIFY instead of base component"
1286         errorLine1="                notify(RECEIVE_TABS_TAG, notificationId, notification)"
1287         errorLine2="                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1288         <location
1289             file="src/main/java/org/mozilla/fenix/components/NotificationManager.kt"
1290             line="96"
1291             column="17"/>
1292     </issue>
1294     <issue
1295         id="SetJavaScriptEnabled"
1296         message="Using `setJavaScriptEnabled` can introduce XSS vulnerabilities into your application, review carefully"
1297         errorLine1="        webView.settings.javaScriptEnabled = true"
1298         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1299         <location
1300             file="src/main/java/org/mozilla/fenix/home/mozonline/PrivacyContentDisplayActivity.kt"
1301             line="32"
1302             column="9"/>
1303     </issue>
1305     <issue
1306         id="ExportedReceiver"
1307         message="Exported receiver does not require permission"
1308         errorLine1="        &lt;receiver android:name=&quot;.onboarding.WidgetPinnedReceiver&quot;"
1309         errorLine2="         ~~~~~~~~">
1310         <location
1311             file="src/main/AndroidManifest.xml"
1312             line="357"
1313             column="10"/>
1314     </issue>
1316     <issue
1317         id="DataExtractionRules"
1318         message="The attribute `android:allowBackup` is deprecated from Android 12 and higher and may be removed in future versions. Consider adding the attribute `android:dataExtractionRules` specifying an `@xml` resource which configures cloud backups and device transfers on Android 12 and higher."
1319         errorLine1="        android:allowBackup=&quot;false&quot;"
1320         errorLine2="                             ~~~~~">
1321         <location
1322             file="src/main/AndroidManifest.xml"
1323             line="55"
1324             column="30"/>
1325     </issue>
1327     <issue
1328         id="MozMultipleConstraintLayouts"
1329         message="Flatten the view hierarchy by using one `ConstraintLayout`, if possible. If the alternative is several nested `ViewGroup`, it may not help performance and this may be worth suppressing."
1330         errorLine1="    &lt;androidx.constraintlayout.widget.ConstraintLayout"
1331         errorLine2="     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1332         <location
1333             file="src/main/res/layout/component_collection_creation.xml"
1334             line="137"
1335             column="6"/>
1336     </issue>
1338     <issue
1339         id="MozMultipleConstraintLayouts"
1340         message="Flatten the view hierarchy by using one `ConstraintLayout`, if possible. If the alternative is several nested `ViewGroup`, it may not help performance and this may be worth suppressing."
1341         errorLine1="    &lt;androidx.constraintlayout.widget.ConstraintLayout"
1342         errorLine2="     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1343         <location
1344             file="src/main/res/layout/component_collection_creation_name_collection.xml"
1345             line="108"
1346             column="6"/>
1347     </issue>
1349     <issue
1350         id="MozMultipleConstraintLayouts"
1351         message="Flatten the view hierarchy by using one `ConstraintLayout`, if possible. If the alternative is several nested `ViewGroup`, it may not help performance and this may be worth suppressing."
1352         errorLine1="    &lt;androidx.constraintlayout.widget.ConstraintLayout"
1353         errorLine2="     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1354         <location
1355             file="src/main/res/layout/component_collection_creation_select_collection.xml"
1356             line="112"
1357             column="6"/>
1358     </issue>
1360     <issue
1361         id="MozMultipleConstraintLayouts"
1362         message="Flatten the view hierarchy by using one `ConstraintLayout`, if possible. If the alternative is several nested `ViewGroup`, it may not help performance and this may be worth suppressing."
1363         errorLine1="    &lt;androidx.constraintlayout.widget.ConstraintLayout"
1364         errorLine2="     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1365         <location
1366             file="src/main/res/layout/component_tracking_protection_panel.xml"
1367             line="15"
1368             column="6"/>
1369     </issue>
1371     <issue
1372         id="MozMultipleConstraintLayouts"
1373         message="Flatten the view hierarchy by using one `ConstraintLayout`, if possible. If the alternative is several nested `ViewGroup`, it may not help performance and this may be worth suppressing."
1374         errorLine1="    &lt;androidx.constraintlayout.widget.ConstraintLayout"
1375         errorLine2="     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1376         <location
1377             file="src/main/res/layout/component_tracking_protection_panel.xml"
1378             line="198"
1379             column="6"/>
1380     </issue>
1382     <issue
1383         id="MozMultipleConstraintLayouts"
1384         message="Flatten the view hierarchy by using one `ConstraintLayout`, if possible. If the alternative is several nested `ViewGroup`, it may not help performance and this may be worth suppressing."
1385         errorLine1="        &lt;androidx.constraintlayout.widget.ConstraintLayout"
1386         errorLine2="         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1387         <location
1388             file="src/main/res/layout/fragment_add_on_details.xml"
1389             line="160"
1390             column="10"/>
1391     </issue>
1393     <issue
1394         id="MozMultipleConstraintLayouts"
1395         message="Flatten the view hierarchy by using one `ConstraintLayout`, if possible. If the alternative is several nested `ViewGroup`, it may not help performance and this may be worth suppressing."
1396         errorLine1="    &lt;androidx.constraintlayout.widget.ConstraintLayout"
1397         errorLine2="     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1398         <location
1399             file="src/main/res/layout/fragment_share.xml"
1400             line="30"
1401             column="6"/>
1402     </issue>
1404     <issue
1405         id="NotifyDataSetChanged"
1406         message="It will always be more efficient to use more specific change events if you can. Rely on `notifyDataSetChanged` as a last resort."
1407         errorLine1="        notifyDataSetChanged()"
1408         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~">
1409         <location
1410             file="src/main/java/org/mozilla/fenix/library/downloads/DownloadAdapter.kt"
1411             line="43"
1412             column="9"/>
1413     </issue>
1415     <issue
1416         id="NotifyDataSetChanged"
1417         message="It will always be more efficient to use more specific change events if you can. Rely on `notifyDataSetChanged` as a last resort."
1418         errorLine1="        historyAdapter.notifyDataSetChanged()"
1419         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1420         <location
1421             file="src/main/java/org/mozilla/fenix/library/history/HistoryView.kt"
1422             line="115"
1423             column="9"/>
1424     </issue>
1426     <issue
1427         id="NotifyDataSetChanged"
1428         message="It will always be more efficient to use more specific change events if you can. Rely on `notifyDataSetChanged` as a last resort."
1429         errorLine1="        notifyDataSetChanged()"
1430         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~">
1431         <location
1432             file="src/main/java/org/mozilla/fenix/collections/SaveCollectionListAdapter.kt"
1433             line="49"
1434             column="9"/>
1435     </issue>
1437     <issue
1438         id="NotifyDataSetChanged"
1439         message="It will always be more efficient to use more specific change events if you can. Rely on `notifyDataSetChanged` as a last resort."
1440         errorLine1="            tabsTrayBinding.tabsTray.adapter?.notifyDataSetChanged()"
1441         errorLine2="            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1442         <location
1443             file="src/main/java/org/mozilla/fenix/tabstray/TabsTrayFragment.kt"
1444             line="588"
1445             column="13"/>
1446     </issue>
1448     <issue
1449         id="MozMultipleConstraintLayoutsAndCustomViews"
1450         message="Custom views extending `ConstraintLayout` are less efficient because they cannot share other `ConstraintLayout` defined in file."
1451         errorLine1="    &lt;org.mozilla.fenix.library.LibrarySiteItemView"
1452         errorLine2="     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1453         <location
1454             file="src/main/res/layout/component_recently_closed.xml"
1455             line="12"
1456             column="6"/>
1457     </issue>
1459     <issue
1460         id="MozMultipleConstraintLayoutsAndCustomViews"
1461         message="Custom views extending `ConstraintLayout` are less efficient because they cannot share other `ConstraintLayout` defined in file."
1462         errorLine1="            &lt;mozilla.components.feature.findinpage.view.FindInPageBar"
1463         errorLine2="             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1464         <location
1465             file="src/main/res/layout/fragment_browser.xml"
1466             line="39"
1467             column="14"/>
1468     </issue>
1470     <issue
1471         id="MozMultipleConstraintLayoutsAndCustomViews"
1472         message="Custom views extending `ConstraintLayout` are less efficient because they cannot share other `ConstraintLayout` defined in file."
1473         errorLine1="            &lt;mozilla.components.feature.readerview.view.ReaderViewControlsBar"
1474         errorLine2="             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1475         <location
1476             file="src/main/res/layout/fragment_browser.xml"
1477             line="60"
1478             column="14"/>
1479     </issue>
1481     <issue
1482         id="MozMultipleConstraintLayoutsAndCustomViews"
1483         message="Custom views extending `ConstraintLayout` are less efficient because they cannot share other `ConstraintLayout` defined in file."
1484         errorLine1="        &lt;mozilla.components.feature.prompts.login.LoginSelectBar"
1485         errorLine2="         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1486         <location
1487             file="src/main/res/layout/fragment_browser.xml"
1488             line="109"
1489             column="10"/>
1490     </issue>
1492     <issue
1493         id="MozMultipleConstraintLayoutsAndCustomViews"
1494         message="Custom views extending `ConstraintLayout` are less efficient because they cannot share other `ConstraintLayout` defined in file."
1495         errorLine1="            &lt;org.mozilla.fenix.settings.deletebrowsingdata.DeleteBrowsingDataItem"
1496         errorLine2="             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1497         <location
1498             file="src/main/res/layout/fragment_delete_browsing_data.xml"
1499             line="32"
1500             column="14"/>
1501     </issue>
1503     <issue
1504         id="MozMultipleConstraintLayoutsAndCustomViews"
1505         message="Custom views extending `ConstraintLayout` are less efficient because they cannot share other `ConstraintLayout` defined in file."
1506         errorLine1="            &lt;org.mozilla.fenix.settings.deletebrowsingdata.DeleteBrowsingDataItem"
1507         errorLine2="             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1508         <location
1509             file="src/main/res/layout/fragment_delete_browsing_data.xml"
1510             line="41"
1511             column="14"/>
1512     </issue>
1514     <issue
1515         id="MozMultipleConstraintLayoutsAndCustomViews"
1516         message="Custom views extending `ConstraintLayout` are less efficient because they cannot share other `ConstraintLayout` defined in file."
1517         errorLine1="            &lt;org.mozilla.fenix.settings.deletebrowsingdata.DeleteBrowsingDataItem"
1518         errorLine2="             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1519         <location
1520             file="src/main/res/layout/fragment_delete_browsing_data.xml"
1521             line="50"
1522             column="14"/>
1523     </issue>
1525     <issue
1526         id="MozMultipleConstraintLayoutsAndCustomViews"
1527         message="Custom views extending `ConstraintLayout` are less efficient because they cannot share other `ConstraintLayout` defined in file."
1528         errorLine1="            &lt;org.mozilla.fenix.settings.deletebrowsingdata.DeleteBrowsingDataItem"
1529         errorLine2="             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1530         <location
1531             file="src/main/res/layout/fragment_delete_browsing_data.xml"
1532             line="60"
1533             column="14"/>
1534     </issue>
1536     <issue
1537         id="MozMultipleConstraintLayoutsAndCustomViews"
1538         message="Custom views extending `ConstraintLayout` are less efficient because they cannot share other `ConstraintLayout` defined in file."
1539         errorLine1="            &lt;org.mozilla.fenix.settings.deletebrowsingdata.DeleteBrowsingDataItem"
1540         errorLine2="             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1541         <location
1542             file="src/main/res/layout/fragment_delete_browsing_data.xml"
1543             line="70"
1544             column="14"/>
1545     </issue>
1547     <issue
1548         id="MozMultipleConstraintLayoutsAndCustomViews"
1549         message="Custom views extending `ConstraintLayout` are less efficient because they cannot share other `ConstraintLayout` defined in file."
1550         errorLine1="            &lt;org.mozilla.fenix.settings.deletebrowsingdata.DeleteBrowsingDataItem"
1551         errorLine2="             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1552         <location
1553             file="src/main/res/layout/fragment_delete_browsing_data.xml"
1554             line="79"
1555             column="14"/>
1556     </issue>
1558     <issue
1559         id="MozMultipleConstraintLayoutsAndCustomViews"
1560         message="Custom views extending `ConstraintLayout` are less efficient because they cannot share other `ConstraintLayout` defined in file."
1561         errorLine1="        &lt;org.mozilla.fenix.trackingprotection.TrackingProtectionCategoryItem"
1562         errorLine2="         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1563         <location
1564             file="src/main/res/layout/fragment_tracking_protection_blocking.xml"
1565             line="36"
1566             column="10"/>
1567     </issue>
1569     <issue
1570         id="MozMultipleConstraintLayoutsAndCustomViews"
1571         message="Custom views extending `ConstraintLayout` are less efficient because they cannot share other `ConstraintLayout` defined in file."
1572         errorLine1="        &lt;org.mozilla.fenix.trackingprotection.TrackingProtectionCategoryItem"
1573         errorLine2="         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1574         <location
1575             file="src/main/res/layout/fragment_tracking_protection_blocking.xml"
1576             line="46"
1577             column="10"/>
1578     </issue>
1580     <issue
1581         id="MozMultipleConstraintLayoutsAndCustomViews"
1582         message="Custom views extending `ConstraintLayout` are less efficient because they cannot share other `ConstraintLayout` defined in file."
1583         errorLine1="        &lt;org.mozilla.fenix.trackingprotection.TrackingProtectionCategoryItem"
1584         errorLine2="         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1585         <location
1586             file="src/main/res/layout/fragment_tracking_protection_blocking.xml"
1587             line="56"
1588             column="10"/>
1589     </issue>
1591     <issue
1592         id="MozMultipleConstraintLayoutsAndCustomViews"
1593         message="Custom views extending `ConstraintLayout` are less efficient because they cannot share other `ConstraintLayout` defined in file."
1594         errorLine1="        &lt;org.mozilla.fenix.trackingprotection.TrackingProtectionCategoryItem"
1595         errorLine2="         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1596         <location
1597             file="src/main/res/layout/fragment_tracking_protection_blocking.xml"
1598             line="66"
1599             column="10"/>
1600     </issue>
1602     <issue
1603         id="MozMultipleConstraintLayoutsAndCustomViews"
1604         message="Custom views extending `ConstraintLayout` are less efficient because they cannot share other `ConstraintLayout` defined in file."
1605         errorLine1="        &lt;org.mozilla.fenix.trackingprotection.TrackingProtectionCategoryItem"
1606         errorLine2="         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1607         <location
1608             file="src/main/res/layout/fragment_tracking_protection_blocking.xml"
1609             line="76"
1610             column="10"/>
1611     </issue>
1613     <issue
1614         id="MozMultipleConstraintLayoutsAndCustomViews"
1615         message="Custom views extending `ConstraintLayout` are less efficient because they cannot share other `ConstraintLayout` defined in file."
1616         errorLine1="    &lt;org.mozilla.fenix.trackingprotection.SwitchWithDescription"
1617         errorLine2="     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1618         <location
1619             file="src/main/res/layout/quicksettings_protections_panel.xml"
1620             line="18"
1621             column="6"/>
1622     </issue>
1624     <issue
1625         id="AutoboxingStateCreation"
1626         message="Prefer `mutableLongStateOf` instead of `mutableStateOf`"
1627         errorLine1="    var lastClickTime: Long by remember { mutableStateOf(0) }"
1628         errorLine2="                                          ~~~~~~~~~~~~~~">
1629         <location
1630             file="src/main/java/org/mozilla/fenix/compose/ext/Modifier.kt"
1631             line="82"
1632             column="43"/>
1633     </issue>
1635     <issue
1636         id="AutoboxingStateCreation"
1637         message="Prefer `mutableIntStateOf` instead of `mutableStateOf`"
1638         errorLine1="    var offsetY by remember { mutableStateOf(INITIAL_OFFSET) }"
1639         errorLine2="                              ~~~~~~~~~~~~~~">
1640         <location
1641             file="src/main/java/org/mozilla/fenix/experiments/view/ResearchSurfaceSurvey.kt"
1642             line="66"
1643             column="31"/>
1644     </issue>
1646     <issue
1647         id="Overdraw"
1648         message="Possible overdraw: Root element paints background `@color/sync_error_background_color` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
1649         errorLine1="        android:background=&quot;@color/sync_error_background_color&quot;"
1650         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1651         <location
1652             file="src/main/res/layout/account_auth_error_preference.xml"
1653             line="13"
1654             column="9"/>
1655     </issue>
1657     <issue
1658         id="Overdraw"
1659         message="Possible overdraw: Root element paints background `?android:selectableItemBackground` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
1660         errorLine1="    android:background=&quot;?android:selectableItemBackground&quot;"
1661         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1662         <location
1663             file="src/main/res/layout/checkbox_left_preference.xml"
1664             line="11"
1665             column="5"/>
1666     </issue>
1668     <issue
1669         id="Overdraw"
1670         message="Possible overdraw: Root element paints background `?android:selectableItemBackground` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
1671         errorLine1="    android:background=&quot;?android:selectableItemBackground&quot;"
1672         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1673         <location
1674             file="src/main/res/layout/checkbox_left_preference_etp.xml"
1675             line="12"
1676             column="5"/>
1677     </issue>
1679     <issue
1680         id="Overdraw"
1681         message="Possible overdraw: Root element paints background `?android:selectableItemBackground` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
1682         errorLine1="    android:background=&quot;?android:selectableItemBackground&quot;"
1683         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1684         <location
1685             file="src/main/res/layout/checkbox_left_sub_preference.xml"
1686             line="11"
1687             column="5"/>
1688     </issue>
1690     <issue
1691         id="Overdraw"
1692         message="Possible overdraw: Root element paints background `?attr/layer1` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
1693         errorLine1="    android:background=&quot;?attr/layer1&quot;>"
1694         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1695         <location
1696             file="src/main/res/layout/component_cookie_banner_details_panel.xml"
1697             line="11"
1698             column="5"/>
1699     </issue>
1701     <issue
1702         id="Overdraw"
1703         message="Possible overdraw: Root element paints background `?attr/layer1` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
1704         errorLine1="    android:background=&quot;?attr/layer1&quot;>"
1705         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1706         <location
1707             file="src/main/res/layout/component_tracking_protection_panel.xml"
1708             line="13"
1709             column="5"/>
1710     </issue>
1712     <issue
1713         id="Overdraw"
1714         message="Possible overdraw: Root element paints background `?attr/layer1` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
1715         errorLine1="    android:background=&quot;?attr/layer1&quot;"
1716         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1717         <location
1718             file="src/main/res/layout/connection_details_website_info.xml"
1719             line="13"
1720             column="5"/>
1721     </issue>
1723     <issue
1724         id="Overdraw"
1725         message="Possible overdraw: Root element paints background `@color/material_scrim_color` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
1726         errorLine1="    android:background=&quot;@color/material_scrim_color&quot;"
1727         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1728         <location
1729             file="src/main/res/layout/dialog_scrim.xml"
1730             line="11"
1731             column="5"/>
1732     </issue>
1734     <issue
1735         id="Overdraw"
1736         message="Possible overdraw: Root element paints background `?attr/layer1` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
1737         errorLine1="    android:background=&quot;?attr/layer1&quot;"
1738         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1739         <location
1740             file="src/main/res/layout/download_dialog_layout.xml"
1741             line="10"
1742             column="5"/>
1743     </issue>
1745     <issue
1746         id="Overdraw"
1747         message="Possible overdraw: Root element paints background `?scrim` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
1748         errorLine1="    android:background=&quot;?scrim&quot;"
1749         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1750         <location
1751             file="src/main/res/layout/fragment_create_collection.xml"
1752             line="11"
1753             column="5"/>
1754     </issue>
1756     <issue
1757         id="Overdraw"
1758         message="Possible overdraw: Root element paints background `?scrim` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
1759         errorLine1="    android:background=&quot;?scrim&quot;"
1760         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1761         <location
1762             file="src/main/res/layout/fragment_create_shortcut.xml"
1763             line="11"
1764             column="5"/>
1765     </issue>
1767     <issue
1768         id="Overdraw"
1769         message="Possible overdraw: Root element paints background `?homeBackground` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
1770         errorLine1="    android:background=&quot;?homeBackground&quot;>"
1771         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1772         <location
1773             file="src/main/res/layout/fragment_home.xml"
1774             line="16"
1775             column="5"/>
1776     </issue>
1778     <issue
1779         id="Overdraw"
1780         message="Possible overdraw: Root element paints background `?scrim` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
1781         errorLine1="    android:background=&quot;?scrim&quot;"
1782         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1783         <location
1784             file="src/main/res/layout/fragment_pwa_onboarding.xml"
1785             line="11"
1786             column="5"/>
1787     </issue>
1789     <issue
1790         id="Overdraw"
1791         message="Possible overdraw: Root element paints background `?attr/scrimBackground` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
1792         errorLine1="    android:background=&quot;?attr/scrimBackground&quot;>"
1793         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1794         <location
1795             file="src/main/res/layout/fragment_search_dialog.xml"
1796             line="13"
1797             column="5"/>
1798     </issue>
1800     <issue
1801         id="Overdraw"
1802         message="Possible overdraw: Root element paints background `?attr/layer1` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
1803         errorLine1="    android:background=&quot;?attr/layer1&quot;"
1804         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1805         <location
1806             file="src/main/res/layout/fragment_sign_out.xml"
1807             line="10"
1808             column="5"/>
1809     </issue>
1811     <issue
1812         id="Overdraw"
1813         message="Possible overdraw: Root element paints background `?attr/layer1` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
1814         errorLine1="    android:background=&quot;?attr/layer1&quot;"
1815         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1816         <location
1817             file="src/main/res/layout/info_banner.xml"
1818             line="11"
1819             column="5"/>
1820     </issue>
1822     <issue
1823         id="Overdraw"
1824         message="Possible overdraw: Root element paints background `?attr/selectableItemBackground` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
1825         errorLine1="    android:background=&quot;?attr/selectableItemBackground&quot;"
1826         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1827         <location
1828             file="src/main/res/layout/layout_add_credit_card.xml"
1829             line="11"
1830             column="5"/>
1831     </issue>
1833     <issue
1834         id="Overdraw"
1835         message="Possible overdraw: Root element paints background `?attr/selectableItemBackground` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
1836         errorLine1="    android:background=&quot;?attr/selectableItemBackground&quot;"
1837         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1838         <location
1839             file="src/main/res/layout/layout_add_login.xml"
1840             line="11"
1841             column="5"/>
1842     </issue>
1844     <issue
1845         id="Overdraw"
1846         message="Possible overdraw: Root element paints background `?attr/layer1` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
1847         errorLine1="    android:background=&quot;?attr/layer1&quot;"
1848         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1849         <location
1850             file="src/main/res/layout/navigation_toolbar.xml"
1851             line="14"
1852             column="5"/>
1853     </issue>
1855     <issue
1856         id="Overdraw"
1857         message="Possible overdraw: Root element paints background `?android:selectableItemBackground` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
1858         errorLine1="    android:background=&quot;?android:selectableItemBackground&quot;"
1859         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1860         <location
1861             file="src/main/res/layout/preference_search_add_engine.xml"
1862             line="10"
1863             column="5"/>
1864     </issue>
1866     <issue
1867         id="Overdraw"
1868         message="Possible overdraw: Root element paints background `?android:selectableItemBackground` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
1869         errorLine1="    android:background=&quot;?android:selectableItemBackground&quot;"
1870         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1871         <location
1872             file="src/main/res/layout/search_engine_radio_button.xml"
1873             line="11"
1874             column="5"/>
1875     </issue>
1877     <issue
1878         id="Overdraw"
1879         message="Possible overdraw: Root element paints background `?android:windowBackground` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
1880         errorLine1="    android:background=&quot;?android:windowBackground&quot;"
1881         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1882         <location
1883             file="src/main/res/layout/start_download_dialog_layout.xml"
1884             line="13"
1885             column="5"/>
1886     </issue>
1888     <issue
1889         id="Overdraw"
1890         message="Possible overdraw: Root element paints background `#FF0250BB` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
1891         errorLine1="    android:background=&quot;#FF0250BB&quot;>"
1892         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1893         <location
1894             file="src/main/res/layout/tracking_protection_learn_more_preference.xml"
1895             line="10"
1896             column="5"/>
1897     </issue>
1899     <issue
1900         id="Overdraw"
1901         message="Possible overdraw: Root element paints background `?attr/layer2` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
1902         errorLine1="    android:background=&quot;?attr/layer2&quot;>"
1903         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1904         <location
1905             file="src/main/res/layout/view_crash_reporter.xml"
1906             line="11"
1907             column="5"/>
1908     </issue>
1910     <issue
1911         id="UnusedResources"
1912         message="The resource `R.string.resource_scheme` appears to be unused"
1913         errorLine1="    &lt;string name=&quot;resource_scheme&quot;>&quot;resource://&quot;&lt;/string>"
1914         errorLine2="            ~~~~~~~~~~~~~~~~~~~~~~">
1915         <location
1916             file="src/main/res/values/arrays.xml"
1917             line="39"
1918             column="13"/>
1919     </issue>
1921     <issue
1922         id="UnusedResources"
1923         message="The resource `R.string.chrome_scheme` appears to be unused"
1924         errorLine1="    &lt;string name=&quot;chrome_scheme&quot;>&quot;chrome://&lt;/string>"
1925         errorLine2="            ~~~~~~~~~~~~~~~~~~~~">
1926         <location
1927             file="src/main/res/values/arrays.xml"
1928             line="40"
1929             column="13"/>
1930     </issue>
1932     <issue
1933         id="UnusedResources"
1934         message="The resource `R.string.about_scheme` appears to be unused"
1935         errorLine1="    &lt;string name=&quot;about_scheme&quot;>&quot;about:&quot;&lt;/string>"
1936         errorLine2="            ~~~~~~~~~~~~~~~~~~~">
1937         <location
1938             file="src/main/res/values/arrays.xml"
1939             line="41"
1940             column="13"/>
1941     </issue>
1943     <issue
1944         id="UnusedResources"
1945         message="The resource `R.array.mozac_url_schemes_blocklist` appears to be unused"
1946         errorLine1="    &lt;string-array name=&quot;mozac_url_schemes_blocklist&quot; >"
1947         errorLine2="                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1948         <location
1949             file="src/main/res/values/arrays.xml"
1950             line="42"
1951             column="19"/>
1952     </issue>
1954     <issue
1955         id="UnusedResources"
1956         message="The resource `R.dimen.mozac_browser_menu_corner_radius` appears to be unused"
1957         errorLine1="    &lt;dimen name=&quot;mozac_browser_menu_corner_radius&quot;>8dp&lt;/dimen>"
1958         errorLine2="           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1959         <location
1960             file="src/main/res/values/dimens.xml"
1961             line="12"
1962             column="12"/>
1963     </issue>
1965     <issue
1966         id="UnusedResources"
1967         message="The resource `R.dimen.mozac_browser_menu2_corner_radius` appears to be unused"
1968         errorLine1="    &lt;dimen name=&quot;mozac_browser_menu2_corner_radius&quot;>8dp&lt;/dimen>"
1969         errorLine2="           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1970         <location
1971             file="src/main/res/values/dimens.xml"
1972             line="13"
1973             column="12"/>
1974     </issue>
1976     <issue
1977         id="UnusedResources"
1978         message="The resource `R.mipmap.ic_launcher_private` appears to be unused">
1979         <location
1980             file="src/main/res/mipmap-hdpi/ic_launcher_private.webp"/>
1981     </issue>
1983     <issue
1984         id="UnusedResources"
1985         message="The resource `R.drawable.ic_onboarding_key_features` appears to be unused"
1986         errorLine1="&lt;vector xmlns:aapt=&quot;http://schemas.android.com/aapt&quot; xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; android:height=&quot;320dp&quot; android:viewportHeight=&quot;193.94&quot; android:viewportWidth=&quot;200&quot; android:width=&quot;329.99896dp&quot;>"
1987         errorLine2="^">
1988         <location
1989             file="src/main/res/drawable/ic_onboarding_key_features.xml"
1990             line="1"
1991             column="1"/>
1992     </issue>
1994     <issue
1995         id="UnusedResources"
1996         message="The resource `R.drawable.ic_onboarding_key_features_icons_only` appears to be unused"
1997         errorLine1="&lt;vector xmlns:aapt=&quot;http://schemas.android.com/aapt&quot; xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; android:height=&quot;320dp&quot; android:viewportHeight=&quot;193.94&quot; android:viewportWidth=&quot;200&quot; android:width=&quot;329.99896dp&quot;>"
1998         errorLine2="^">
1999         <location
2000             file="src/main/res/drawable/ic_onboarding_key_features_icons_only.xml"
2001             line="1"
2002             column="1"/>
2003     </issue>
2005     <issue
2006         id="RedundantNamespace"
2007         message="This namespace declaration is redundant"
2008         errorLine1="        &lt;vector xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;"
2009         errorLine2="                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
2010         <location
2011             file="src/debug/res/drawable/animated_splash_screen.xml"
2012             line="7"
2013             column="17"/>
2014     </issue>
2016     <issue
2017         id="RedundantNamespace"
2018         message="This namespace declaration is redundant"
2019         errorLine1="        &lt;vector xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;"
2020         errorLine2="                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
2021         <location
2022             file="src/main/res/drawable/animated_splash_screen.xml"
2023             line="7"
2024             column="17"/>
2025     </issue>
2027     <issue
2028         id="RedundantNamespace"
2029         message="This namespace declaration is redundant"
2030         errorLine1="            xmlns:aapt=&quot;http://schemas.android.com/aapt&quot;"
2031         errorLine2="            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
2032         <location
2033             file="src/debug/res/drawable/animated_splash_screen.xml"
2034             line="8"
2035             column="13"/>
2036     </issue>
2038     <issue
2039         id="RedundantNamespace"
2040         message="This namespace declaration is redundant"
2041         errorLine1="            xmlns:aapt=&quot;http://schemas.android.com/aapt&quot;"
2042         errorLine2="            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
2043         <location
2044             file="src/main/res/drawable/animated_splash_screen.xml"
2045             line="8"
2046             column="13"/>
2047     </issue>
2049     <issue
2050         id="IconXmlAndPng"
2051         message="The following images appear both as density independent `.xml` files and as bitmap files: src/main/res/drawable-hdpi/ic_logo_wordmark_normal.webp, src/main/res/drawable-night/ic_logo_wordmark_normal.xml">
2052         <location
2053             file="src/main/res/drawable-xxxhdpi/ic_logo_wordmark_normal.webp"/>
2054         <location
2055             file="src/main/res/drawable-xxhdpi/ic_logo_wordmark_normal.webp"/>
2056         <location
2057             file="src/main/res/drawable-xhdpi/ic_logo_wordmark_normal.webp"/>
2058         <location
2059             file="src/main/res/drawable-night/ic_logo_wordmark_normal.xml"/>
2060         <location
2061             file="src/main/res/drawable-mdpi/ic_logo_wordmark_normal.webp"/>
2062         <location
2063             file="src/main/res/drawable-hdpi/ic_logo_wordmark_normal.webp"/>
2064     </issue>
2066     <issue
2067         id="IconLocation"
2068         message="Found bitmap drawable `res/drawable/ic_baidu.webp` in densityless folder">
2069         <location
2070             file="src/main/res/drawable/ic_baidu.webp"/>
2071     </issue>
2073     <issue
2074         id="IconLocation"
2075         message="Found bitmap drawable `res/drawable/ic_jd.webp` in densityless folder">
2076         <location
2077             file="src/main/res/drawable/ic_jd.webp"/>
2078     </issue>
2080     <issue
2081         id="IconLocation"
2082         message="Found bitmap drawable `res/drawable/ic_meituan.webp` in densityless folder">
2083         <location
2084             file="src/main/res/drawable/ic_meituan.webp"/>
2085     </issue>
2087     <issue
2088         id="IconLocation"
2089         message="Found bitmap drawable `res/drawable/ic_pdd.webp` in densityless folder">
2090         <location
2091             file="src/main/res/drawable/ic_pdd.webp"/>
2092     </issue>
2094     <issue
2095         id="IconLocation"
2096         message="Found bitmap drawable `res/drawable/ic_tc.webp` in densityless folder">
2097         <location
2098             file="src/main/res/drawable/ic_tc.webp"/>
2099     </issue>
2101     <issue
2102         id="IconLocation"
2103         message="Found bitmap drawable `res/drawable/ic_wordmark_logo.webp` in densityless folder">
2104         <location
2105             file="src/main/res/drawable/ic_wordmark_logo.webp"/>
2106     </issue>
2108     <issue
2109         id="IconLocation"
2110         message="Found bitmap drawable `res/drawable/ic_wordmark_text_normal.webp` in densityless folder">
2111         <location
2112             file="src/main/res/drawable/ic_wordmark_text_normal.webp"/>
2113     </issue>
2115     <issue
2116         id="IconLocation"
2117         message="Found bitmap drawable `res/drawable/ic_wordmark_text_private.webp` in densityless folder">
2118         <location
2119             file="src/main/res/drawable/ic_wordmark_text_private.webp"/>
2120     </issue>
2122     <issue
2123         id="IconDensities"
2124         message="Missing the following drawables in `drawable-mdpi`: fenix_search_widget.webp (found in drawable-hdpi)">
2125         <location
2126             file="src/main/res/drawable-mdpi"/>
2127     </issue>
2129     <issue
2130         id="IconDensities"
2131         message="Missing the following drawables in `drawable-xhdpi`: fenix_search_widget.webp (found in drawable-hdpi)">
2132         <location
2133             file="src/main/res/drawable-xhdpi"/>
2134     </issue>
2136     <issue
2137         id="IconDensities"
2138         message="Missing the following drawables in `drawable-xxhdpi`: fenix_search_widget.webp (found in drawable-hdpi)">
2139         <location
2140             file="src/main/res/drawable-xxhdpi"/>
2141     </issue>
2143     <issue
2144         id="SmallSp"
2145         message="Avoid using sizes smaller than `11sp`: `10sp`"
2146         errorLine1="        android:textSize=&quot;10sp&quot;"
2147         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~">
2148         <location
2149             file="src/main/res/layout/account_share_list_item.xml"
2150             line="39"
2151             column="9"/>
2152     </issue>
2154     <issue
2155         id="SmallSp"
2156         message="Avoid using sizes smaller than `11sp`: `10sp`"
2157         errorLine1="        android:textSize=&quot;10sp&quot;"
2158         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~">
2159         <location
2160             file="src/main/res/layout/app_share_list_item.xml"
2161             line="37"
2162             column="9"/>
2163     </issue>
2165     <issue
2166         id="ClickableViewAccessibility"
2167         message="Custom view ``SearchDialogFragmentConstraintLayout`` has `setOnTouchListener` called on it but does not override `performClick`"
2168         errorLine1="                binding.searchWrapper.setOnTouchListener { _, _ ->"
2169         errorLine2="                ^">
2170         <location
2171             file="src/main/java/org/mozilla/fenix/search/SearchDialogFragment.kt"
2172             line="373"
2173             column="17"/>
2174     </issue>
2176     <issue
2177         id="ClickableViewAccessibility"
2178         message="`onTouch` lambda should call `View#performClick` when a click is detected"
2179         errorLine1="                binding.searchWrapper.setOnTouchListener { _, _ ->"
2180         errorLine2="                                                         ^">
2181         <location
2182             file="src/main/java/org/mozilla/fenix/search/SearchDialogFragment.kt"
2183             line="373"
2184             column="58"/>
2185     </issue>
2187     <issue
2188         id="ClickableViewAccessibility"
2189         message="Custom view ``SearchDialogFragmentConstraintLayout`` has `setOnTouchListener` called on it but does not override `performClick`"
2190         errorLine1="                binding.searchWrapper.setOnTouchListener { _, _ ->"
2191         errorLine2="                ^">
2192         <location
2193             file="src/main/java/org/mozilla/fenix/search/SearchDialogFragment.kt"
2194             line="383"
2195             column="17"/>
2196     </issue>
2198     <issue
2199         id="ClickableViewAccessibility"
2200         message="`onTouch` lambda should call `View#performClick` when a click is detected"
2201         errorLine1="                binding.searchWrapper.setOnTouchListener { _, _ ->"
2202         errorLine2="                                                         ^">
2203         <location
2204             file="src/main/java/org/mozilla/fenix/search/SearchDialogFragment.kt"
2205             line="383"
2206             column="58"/>
2207     </issue>
2209     <issue
2210         id="ClickableViewAccessibility"
2211         message="Custom view ``SearchDialogFragmentConstraintLayout`` has `setOnTouchListener` called on it but does not override `performClick`"
2212         errorLine1="                binding.searchWrapper.setOnTouchListener { _, _ ->"
2213         errorLine2="                ^">
2214         <location
2215             file="src/main/java/org/mozilla/fenix/search/SearchDialogFragment.kt"
2216             line="389"
2217             column="17"/>
2218     </issue>
2220     <issue
2221         id="ClickableViewAccessibility"
2222         message="`onTouch` lambda should call `View#performClick` when a click is detected"
2223         errorLine1="                binding.searchWrapper.setOnTouchListener { _, _ ->"
2224         errorLine2="                                                         ^">
2225         <location
2226             file="src/main/java/org/mozilla/fenix/search/SearchDialogFragment.kt"
2227             line="389"
2228             column="58"/>
2229     </issue>
2231     <issue
2232         id="ClickableViewAccessibility"
2233         message="Custom view `SwipeGestureLayout` overrides `onTouchEvent` but not `performClick`"
2234         errorLine1="    override fun onTouchEvent(event: MotionEvent): Boolean {"
2235         errorLine2="                 ~~~~~~~~~~~~">
2236         <location
2237             file="src/main/java/org/mozilla/fenix/browser/SwipeGestureLayout.kt"
2238             line="128"
2239             column="18"/>
2240     </issue>
2242     <issue
2243         id="ContentDescription"
2244         message="Missing `contentDescription` attribute on image"
2245         errorLine1="            &lt;ImageView"
2246         errorLine2="             ~~~~~~~~~">
2247         <location
2248             file="src/main/res/layout/fragment_home.xml"
2249             line="184"
2250             column="14"/>
2251     </issue>
2253     <issue
2254         id="ContentDescription"
2255         message="Missing `contentDescription` attribute on image"
2256         errorLine1="            &lt;ImageView"
2257         errorLine2="             ~~~~~~~~~">
2258         <location
2259             file="src/main/res/layout/fragment_home.xml"
2260             line="197"
2261             column="14"/>
2262     </issue>
2264     <issue
2265         id="ContentDescription"
2266         message="Missing `contentDescription` attribute on image"
2267         errorLine1="        &lt;ImageView"
2268         errorLine2="         ~~~~~~~~~">
2269         <location
2270             file="src/main/res/layout/library_site_item.xml"
2271             line="30"
2272             column="10"/>
2273     </issue>
2275     <issue
2276         id="ContentDescription"
2277         message="Missing `contentDescription` attribute on image"
2278         errorLine1="    &lt;ImageView"
2279         errorLine2="     ~~~~~~~~~">
2280         <location
2281             file="src/main/res/layout/sign_in_preference.xml"
2282             line="17"
2283             column="6"/>
2284     </issue>
2286     <issue
2287         id="RtlSymmetry"
2288         message="When you define `paddingStart` you should probably also define `paddingEnd` for right-to-left symmetry"
2289         errorLine1="    android:paddingStart=&quot;@dimen/custom_checkbox_alignment_margin&quot;>"
2290         errorLine2="    ~~~~~~~~~~~~~~~~~~~~">
2291         <location
2292             file="src/main/res/layout/checkbox_left_sub_preference.xml"
2293             line="15"
2294             column="5"/>
2295     </issue>
2297     <issue
2298         id="RtlHardcoded"
2299         message="Consider replacing `android:layout_marginLeft` with `android:layout_marginStart=&quot;10dp&quot;` to better support right-to-left layouts"
2300         errorLine1="                    android:layout_marginLeft=&quot;10dp&quot;"
2301         errorLine2="                    ~~~~~~~~~~~~~~~~~~~~~~~~~">
2302         <location
2303             file="src/main/res/layout/activity_privacy_content_display.xml"
2304             line="25"
2305             column="21"/>
2306     </issue>
2308 </issues>