Bug 1849073 - Part 1: Remove the Bookmark Search Dialog
[gecko.git] / mobile / android / fenix / app / lint-baseline.xml
blobb4ce2b38e20ef3e5defce49079ae6af2773d5558
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/. -->
6 <issues format="6" by="lint 7.0.0" type="baseline" client="gradle" name="AGP (7.0.0)" variant="all" version="7.0.0">
8     <issue
9         id="IidCompatibilityCheckFailure"
10         message="Check failed with exception: java.lang.NoSuchMethodException: com.android.tools.lint.detector.api.LintModelModuleProject.getGradleProjectModel()">
11         <location
12             file="app"/>
13     </issue>
15     <issue
16         id="UnusedAttribute"
17         message="Attribute `android:foreground` has no effect on API levels lower than 23 (current min is 21)"
18         errorLine1="    android:foreground=&quot;?android:attr/selectableItemBackground&quot;"
19         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
20         <location
21             file="src/main/res/layout/account_preference.xml"
22             line="8"
23             column="5"/>
24     </issue>
26     <issue
27         id="UnusedAttribute"
28         message="Attribute `android:foreground` has no effect on API levels lower than 23 (current min is 21)"
29         errorLine1="        android:foreground=&quot;@drawable/rounded_ripple&quot;"
30         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
31         <location
32             file="src/main/res/layout/component_collection_creation.xml"
33             line="144"
34             column="9"/>
35     </issue>
37     <issue
38         id="UnusedAttribute"
39         message="Attribute `android:foreground` has no effect on API levels lower than 23 (current min is 21)"
40         errorLine1="        android:foreground=&quot;@drawable/rounded_ripple&quot;"
41         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
42         <location
43             file="src/main/res/layout/onboarding_theme_picker.xml"
44             line="70"
45             column="9"/>
46     </issue>
48     <issue
49         id="UnusedAttribute"
50         message="Attribute `android:foreground` has no effect on API levels lower than 23 (current min is 21)"
51         errorLine1="        android:foreground=&quot;@drawable/rounded_ripple&quot;"
52         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
53         <location
54             file="src/main/res/layout/onboarding_theme_picker.xml"
55             line="98"
56             column="9"/>
57     </issue>
59     <issue
60         id="UnusedAttribute"
61         message="Attribute `android:foreground` has no effect on API levels lower than 23 (current min is 21)"
62         errorLine1="        android:foreground=&quot;@drawable/rounded_ripple&quot;"
63         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
64         <location
65             file="src/main/res/layout/onboarding_theme_picker.xml"
66             line="147"
67             column="9"/>
68     </issue>
70     <issue
71         id="UnusedAttribute"
72         message="Attribute `android:foreground` has no effect on API levels lower than 23 (current min is 21)"
73         errorLine1="        android:foreground=&quot;@drawable/rounded_ripple&quot;"
74         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
75         <location
76             file="src/main/res/layout/onboarding_toolbar_position_picker.xml"
77             line="60"
78             column="9"/>
79     </issue>
81     <issue
82         id="UnusedAttribute"
83         message="Attribute `android:foreground` has no effect on API levels lower than 23 (current min is 21)"
84         errorLine1="        android:foreground=&quot;@drawable/rounded_ripple&quot;"
85         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
86         <location
87             file="src/main/res/layout/onboarding_toolbar_position_picker.xml"
88             line="114"
89             column="9"/>
90     </issue>
92     <issue
93         id="UnusedAttribute"
94         message="Attribute `android:foreground` has no effect on API levels lower than 23 (current min is 21)"
95         errorLine1="        android:foreground=&quot;@drawable/rounded_ripple&quot;"
96         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
97         <location
98             file="src/main/res/layout/onboarding_tracking_protection.xml"
99             line="50"
100             column="9"/>
101     </issue>
103     <issue
104         id="UnusedAttribute"
105         message="Attribute `android:foreground` has no effect on API levels lower than 23 (current min is 21)"
106         errorLine1="        android:foreground=&quot;@drawable/rounded_ripple&quot;"
107         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
108         <location
109             file="src/main/res/layout/onboarding_tracking_protection.xml"
110             line="71"
111             column="9"/>
112     </issue>
114     <issue
115         id="UnusedAttribute"
116         message="Attribute `shortcutId` is only used in API level 25 and higher (current min is 21)"
117         errorLine1="        android:shortcutId=&quot;open_new_tab&quot;"
118         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
119         <location
120             file="src/debug/res/xml/shortcuts.xml"
121             line="8"
122             column="9"/>
123     </issue>
125     <issue
126         id="UnusedAttribute"
127         message="Attribute `shortcutId` is only used in API level 25 and higher (current min is 21)"
128         errorLine1="        android:shortcutId=&quot;open_new_tab&quot;"
129         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
130         <location
131             file="src/main/res/xml/shortcuts.xml"
132             line="8"
133             column="9"/>
134     </issue>
136     <issue
137         id="UnusedAttribute"
138         message="Attribute `shortcutShortLabel` is only used in API level 25 and higher (current min is 21)"
139         errorLine1="        android:shortcutShortLabel=&quot;@string/home_screen_shortcut_open_new_tab_2&quot;"
140         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
141         <location
142             file="src/debug/res/xml/shortcuts.xml"
143             line="11"
144             column="9"/>
145     </issue>
147     <issue
148         id="UnusedAttribute"
149         message="Attribute `shortcutShortLabel` is only used in API level 25 and higher (current min is 21)"
150         errorLine1="        android:shortcutShortLabel=&quot;@string/home_screen_shortcut_open_new_tab_2&quot;"
151         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
152         <location
153             file="src/main/res/xml/shortcuts.xml"
154             line="11"
155             column="9"/>
156     </issue>
158     <issue
159         id="UnusedAttribute"
160         message="Attribute `shortcutLongLabel` is only used in API level 25 and higher (current min is 21)"
161         errorLine1="        android:shortcutLongLabel=&quot;@string/home_screen_shortcut_open_new_tab_2&quot;>"
162         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
163         <location
164             file="src/debug/res/xml/shortcuts.xml"
165             line="12"
166             column="9"/>
167     </issue>
169     <issue
170         id="UnusedAttribute"
171         message="Attribute `shortcutLongLabel` is only used in API level 25 and higher (current min is 21)"
172         errorLine1="        android:shortcutLongLabel=&quot;@string/home_screen_shortcut_open_new_tab_2&quot;>"
173         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
174         <location
175             file="src/main/res/xml/shortcuts.xml"
176             line="12"
177             column="9"/>
178     </issue>
180     <issue
181         id="UnusedAttribute"
182         message="Attribute `shortcutId` is only used in API level 25 and higher (current min is 21)"
183         errorLine1="        android:shortcutId=&quot;open_new_private_tab&quot;"
184         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
185         <location
186             file="src/debug/res/xml/shortcuts.xml"
187             line="19"
188             column="9"/>
189     </issue>
191     <issue
192         id="UnusedAttribute"
193         message="Attribute `shortcutId` is only used in API level 25 and higher (current min is 21)"
194         errorLine1="        android:shortcutId=&quot;open_new_private_tab&quot;"
195         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
196         <location
197             file="src/main/res/xml/shortcuts.xml"
198             line="19"
199             column="9"/>
200     </issue>
202     <issue
203         id="UnusedAttribute"
204         message="Attribute `shortcutShortLabel` is only used in API level 25 and higher (current min is 21)"
205         errorLine1="        android:shortcutShortLabel=&quot;@string/home_screen_shortcut_open_new_private_tab_2&quot;"
206         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
207         <location
208             file="src/debug/res/xml/shortcuts.xml"
209             line="22"
210             column="9"/>
211     </issue>
213     <issue
214         id="UnusedAttribute"
215         message="Attribute `shortcutShortLabel` is only used in API level 25 and higher (current min is 21)"
216         errorLine1="        android:shortcutShortLabel=&quot;@string/home_screen_shortcut_open_new_private_tab_2&quot;"
217         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
218         <location
219             file="src/main/res/xml/shortcuts.xml"
220             line="22"
221             column="9"/>
222     </issue>
224     <issue
225         id="UnusedAttribute"
226         message="Attribute `shortcutLongLabel` is only used in API level 25 and higher (current min is 21)"
227         errorLine1="        android:shortcutLongLabel=&quot;@string/home_screen_shortcut_open_new_private_tab_2&quot;>"
228         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
229         <location
230             file="src/debug/res/xml/shortcuts.xml"
231             line="23"
232             column="9"/>
233     </issue>
235     <issue
236         id="UnusedAttribute"
237         message="Attribute `shortcutLongLabel` is only used in API level 25 and higher (current min is 21)"
238         errorLine1="        android:shortcutLongLabel=&quot;@string/home_screen_shortcut_open_new_private_tab_2&quot;>"
239         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
240         <location
241             file="src/main/res/xml/shortcuts.xml"
242             line="23"
243             column="9"/>
244     </issue>
246     <issue
247         id="UnusedAttribute"
248         message="Attribute `android:foreground` has no effect on API levels lower than 23 (current min is 21)"
249         errorLine1="    android:foreground=&quot;?android:selectableItemBackground&quot;>"
250         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
251         <location
252             file="src/main/res/layout/tab_tray_item.xml"
253             line="13"
254             column="5"/>
255     </issue>
257     <issue
258         id="InflateParams"
259         message="Avoid passing `null` as the view root (needed to resolve layout parameters on the inflated layout&apos;s root element)"
260         errorLine1="                    .inflate(R.layout.delete_history_time_range_dialog, null)"
261         errorLine2="                                                                        ~~~~">
262         <location
263             file="src/main/java/org/mozilla/fenix/library/history/HistoryFragment.kt"
264             line="379"
265             column="73"/>
266     </issue>
268     <issue
269         id="MissingLicense"
270         message="The file must start with a comment containing the license"
271         errorLine1="package org.mozilla.fenix.ext"
272         errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
273         <location
274             file="src/main/java/org/mozilla/fenix/ext/Bitmap.kt"
275             line="1"
276             column="1"/>
277     </issue>
279     <issue
280         id="VectorRaster"
281         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"
282         errorLine1="    android:width=&quot;1889dp&quot;"
283         errorLine2="                   ~~~~~~">
284         <location
285             file="src/main/res/drawable/ic_etp_artwork.xml"
286             line="7"
287             column="20"/>
288     </issue>
290     <issue
291         id="VectorRaster"
292         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"
293         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;>"
294         errorLine2="                                                                                                                               ~~~~~">
295         <location
296             file="src/main/res/drawable/ic_onboarding_sync.xml"
297             line="1"
298             column="128"/>
299     </issue>
301     <issue
302         id="VectorRaster"
303         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"
304         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;>"
305         errorLine2="                                                                                                                               ~~~~~">
306         <location
307             file="src/main/res/drawable/ic_onboarding_welcome.xml"
308             line="1"
309             column="128"/>
310     </issue>
312     <issue
313         id="VisibleForTests"
314         message="This method should only be accessed from tests or within private scope"
315         errorLine1="                recentTabs = state.recentTabs.filterOutTab(action.recentTab)"
316         errorLine2="                                              ~~~~~~~~~~~~">
317         <location
318             file="src/main/java/org/mozilla/fenix/components/appstate/AppStoreReducer.kt"
319             line="74"
320             column="47"/>
321     </issue>
323     <issue
324         id="VisibleForTests"
325         message="This method should only be accessed from tests or within private scope"
326         errorLine1="                isInPrimaryState = { getCurrentTab()?.content?.canGoBack ?: false },"
327         errorLine2="                                     ~~~~~~~~~~~~~">
328         <location
329             file="src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt"
330             line="97"
331             column="38"/>
332     </issue>
334     <issue
335         id="VisibleForTests"
336         message="This method should only be accessed from tests or within private scope"
337         errorLine1="                isInPrimaryState = { getCurrentTab()?.content?.canGoForward ?: false },"
338         errorLine2="                                     ~~~~~~~~~~~~~">
339         <location
340             file="src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt"
341             line="119"
342             column="38"/>
343     </issue>
345     <issue
346         id="VisibleForTests"
347         message="This method should only be accessed from tests or within private scope"
348         errorLine1="                    getCurrentTab()?.content?.loading == false"
349         errorLine2="                    ~~~~~~~~~~~~~">
350         <location
351             file="src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt"
352             line="142"
353             column="21"/>
354     </issue>
356     <issue
357         id="VisibleForTests"
358         message="This method should only be accessed from tests or within private scope"
359         errorLine1="                    if (getCurrentTab()?.content?.loading == true) {"
360         errorLine2="                        ~~~~~~~~~~~~~">
361         <location
362             file="src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt"
363             line="156"
364             column="25"/>
365     </issue>
367     <issue
368         id="VisibleForTests"
369         message="This method should only be accessed from tests or within private scope"
370         errorLine1="                selected = getCurrentTab()?.let {"
371         errorLine2="                           ~~~~~~~~~~~~~">
372         <location
373             file="src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt"
374             line="184"
375             column="28"/>
376     </issue>
378     <issue
379         id="VisibleForTests"
380         message="This method should only be accessed from tests or within private scope"
381         errorLine1="        getCurrentTab()?.let { tab ->"
382         errorLine2="        ~~~~~~~~~~~~~">
383         <location
384             file="src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt"
385             line="274"
386             column="9"/>
387     </issue>
389     <issue
390         id="VisibleForTests"
391         message="This method should only be accessed from tests or within private scope"
392         errorLine1="            } + searchSelectorMenu.menuItems()"
393         errorLine2="                                   ~~~~~~~~~">
394         <location
395             file="src/main/java/org/mozilla/fenix/search/SearchDialogFragment.kt"
396             line="725"
397             column="36"/>
398     </issue>
400     <issue
401         id="VisibleForTests"
402         message="This method should only be accessed from tests or within private scope"
403         errorLine1="        tabsAction.updateCount(tabCount)"
404         errorLine2="                   ~~~~~~~~~~~">
405         <location
406             file="src/main/java/org/mozilla/fenix/components/toolbar/ToolbarIntegration.kt"
407             line="148"
408             column="20"/>
409     </issue>
411     <issue
412         id="ComposableNaming"
413         message="Composable functions with a return type should start with a lowercase letter"
414         errorLine1="fun EagerFlingBehavior("
415         errorLine2="    ~~~~~~~~~~~~~~~~~~">
416         <location
417             file="src/main/java/org/mozilla/fenix/compose/LazyListEagerFlingBehavior.kt"
418             line="21"
419             column="5"/>
420     </issue>
422     <issue
423         id="ModifierParameter"
424         message="Modifier parameter should be the first optional parameter"
425         errorLine1="    modifier: Modifier = Modifier,"
426         errorLine2="    ~~~~~~~~">
427         <location
428             file="src/main/java/org/mozilla/fenix/compose/ThumbnailCard.kt"
429             line="59"
430             column="5"/>
431     </issue>
433     <issue
434         id="UseCompatLoadingForDrawables"
435         message="Use `AppCompatResources.getDrawable()`"
436         errorLine1="                    display.setUrlBackground(getDrawable(R.drawable.search_url_background))"
437         errorLine2="                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
438         <location
439             file="src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarView.kt"
440             line="89"
441             column="46"/>
442     </issue>
444     <issue
445         id="Typos"
446         message="&quot;internett&quot; is usually capitalized as &quot;Internett&quot;"
447         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"
448         errorLine2="                                                                                                                                                                                                                                      ^">
449         <location
450             file="src/main/res/values-nb-rNO/strings.xml"
451             line="56"
452             column="231"/>
453     </issue>
455     <issue
456         id="Typos"
457         message="Repeated word &quot;zaman&quot; in message: possible typo"
458         errorLine1="    &lt;string name=&quot;studies_description_2&quot;>%1$s zaman zaman araÅŸtırmalar yükleyip Ã§alıştırabilir.&lt;/string>"
459         errorLine2="                                              ^">
460         <location
461             file="src/main/res/values-tr/strings.xml"
462             line="705"
463             column="47"/>
464     </issue>
466     <issue
467         id="MozMultipleConstraintLayouts"
468         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."
469         errorLine1="    &lt;androidx.constraintlayout.widget.ConstraintLayout"
470         errorLine2="     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
471         <location
472             file="src/main/res/layout/component_collection_creation.xml"
473             line="137"
474             column="6"/>
475     </issue>
477     <issue
478         id="MozMultipleConstraintLayouts"
479         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."
480         errorLine1="    &lt;androidx.constraintlayout.widget.ConstraintLayout"
481         errorLine2="     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
482         <location
483             file="src/main/res/layout/component_collection_creation_name_collection.xml"
484             line="107"
485             column="6"/>
486     </issue>
488     <issue
489         id="MozMultipleConstraintLayouts"
490         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."
491         errorLine1="    &lt;androidx.constraintlayout.widget.ConstraintLayout"
492         errorLine2="     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
493         <location
494             file="src/main/res/layout/component_collection_creation_select_collection.xml"
495             line="111"
496             column="6"/>
497     </issue>
499     <issue
500         id="MozMultipleConstraintLayouts"
501         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."
502         errorLine1="    &lt;androidx.constraintlayout.widget.ConstraintLayout"
503         errorLine2="     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
504         <location
505             file="src/main/res/layout/component_tracking_protection_panel.xml"
506             line="15"
507             column="6"/>
508     </issue>
510     <issue
511         id="MozMultipleConstraintLayouts"
512         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."
513         errorLine1="    &lt;androidx.constraintlayout.widget.ConstraintLayout"
514         errorLine2="     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
515         <location
516             file="src/main/res/layout/component_tracking_protection_panel.xml"
517             line="198"
518             column="6"/>
519     </issue>
521     <issue
522         id="MozMultipleConstraintLayouts"
523         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."
524         errorLine1="        &lt;androidx.constraintlayout.widget.ConstraintLayout"
525         errorLine2="         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
526         <location
527             file="src/main/res/layout/fragment_add_on_details.xml"
528             line="150"
529             column="10"/>
530     </issue>
532     <issue
533         id="MozMultipleConstraintLayouts"
534         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."
535         errorLine1="    &lt;androidx.constraintlayout.widget.ConstraintLayout"
536         errorLine2="     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
537         <location
538             file="src/main/res/layout/fragment_share.xml"
539             line="30"
540             column="6"/>
541     </issue>
543     <issue
544         id="NotifyDataSetChanged"
545         message="It will always be more efficient to use more specific change events if you can. Rely on `notifyDataSetChanged` as a last resort."
546         errorLine1="        notifyDataSetChanged()"
547         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~">
548         <location
549             file="src/main/java/org/mozilla/fenix/library/downloads/DownloadAdapter.kt"
550             line="43"
551             column="9"/>
552     </issue>
554     <issue
555         id="NotifyDataSetChanged"
556         message="It will always be more efficient to use more specific change events if you can. Rely on `notifyDataSetChanged` as a last resort."
557         errorLine1="        notifyDataSetChanged()"
558         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~">
559         <location
560             file="src/main/java/org/mozilla/fenix/collections/SaveCollectionListAdapter.kt"
561             line="49"
562             column="9"/>
563     </issue>
565     <issue
566         id="NotifyDataSetChanged"
567         message="It will always be more efficient to use more specific change events if you can. Rely on `notifyDataSetChanged` as a last resort."
568         errorLine1="            tabsTrayBinding.tabsTray.adapter?.notifyDataSetChanged()"
569         errorLine2="            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
570         <location
571             file="src/main/java/org/mozilla/fenix/tabstray/TabsTrayFragment.kt"
572             line="421"
573             column="13"/>
574     </issue>
576     <issue
577         id="MozMultipleConstraintLayoutsAndCustomViews"
578         message="Custom views extending `ConstraintLayout` are less efficient because they cannot share other `ConstraintLayout` defined in file."
579         errorLine1="    &lt;org.mozilla.fenix.library.LibrarySiteItemView"
580         errorLine2="     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
581         <location
582             file="src/main/res/layout/component_recently_closed.xml"
583             line="12"
584             column="6"/>
585     </issue>
587     <issue
588         id="MozMultipleConstraintLayoutsAndCustomViews"
589         message="Custom views extending `ConstraintLayout` are less efficient because they cannot share other `ConstraintLayout` defined in file."
590         errorLine1="            &lt;mozilla.components.feature.readerview.view.ReaderViewControlsBar"
591         errorLine2="             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
592         <location
593             file="src/main/res/layout/fragment_browser.xml"
594             line="54"
595             column="14"/>
596     </issue>
598     <issue
599         id="MozMultipleConstraintLayoutsAndCustomViews"
600         message="Custom views extending `ConstraintLayout` are less efficient because they cannot share other `ConstraintLayout` defined in file."
601         errorLine1="        &lt;mozilla.components.feature.prompts.login.LoginSelectBar"
602         errorLine2="         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
603         <location
604             file="src/main/res/layout/fragment_browser.xml"
605             line="87"
606             column="10"/>
607     </issue>
609     <issue
610         id="MozMultipleConstraintLayoutsAndCustomViews"
611         message="Custom views extending `ConstraintLayout` are less efficient because they cannot share other `ConstraintLayout` defined in file."
612         errorLine1="            &lt;org.mozilla.fenix.settings.deletebrowsingdata.DeleteBrowsingDataItem"
613         errorLine2="             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
614         <location
615             file="src/main/res/layout/fragment_delete_browsing_data.xml"
616             line="32"
617             column="14"/>
618     </issue>
620     <issue
621         id="MozMultipleConstraintLayoutsAndCustomViews"
622         message="Custom views extending `ConstraintLayout` are less efficient because they cannot share other `ConstraintLayout` defined in file."
623         errorLine1="            &lt;org.mozilla.fenix.settings.deletebrowsingdata.DeleteBrowsingDataItem"
624         errorLine2="             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
625         <location
626             file="src/main/res/layout/fragment_delete_browsing_data.xml"
627             line="41"
628             column="14"/>
629     </issue>
631     <issue
632         id="MozMultipleConstraintLayoutsAndCustomViews"
633         message="Custom views extending `ConstraintLayout` are less efficient because they cannot share other `ConstraintLayout` defined in file."
634         errorLine1="            &lt;org.mozilla.fenix.settings.deletebrowsingdata.DeleteBrowsingDataItem"
635         errorLine2="             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
636         <location
637             file="src/main/res/layout/fragment_delete_browsing_data.xml"
638             line="50"
639             column="14"/>
640     </issue>
642     <issue
643         id="MozMultipleConstraintLayoutsAndCustomViews"
644         message="Custom views extending `ConstraintLayout` are less efficient because they cannot share other `ConstraintLayout` defined in file."
645         errorLine1="            &lt;org.mozilla.fenix.settings.deletebrowsingdata.DeleteBrowsingDataItem"
646         errorLine2="             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
647         <location
648             file="src/main/res/layout/fragment_delete_browsing_data.xml"
649             line="60"
650             column="14"/>
651     </issue>
653     <issue
654         id="MozMultipleConstraintLayoutsAndCustomViews"
655         message="Custom views extending `ConstraintLayout` are less efficient because they cannot share other `ConstraintLayout` defined in file."
656         errorLine1="            &lt;org.mozilla.fenix.settings.deletebrowsingdata.DeleteBrowsingDataItem"
657         errorLine2="             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
658         <location
659             file="src/main/res/layout/fragment_delete_browsing_data.xml"
660             line="70"
661             column="14"/>
662     </issue>
664     <issue
665         id="MozMultipleConstraintLayoutsAndCustomViews"
666         message="Custom views extending `ConstraintLayout` are less efficient because they cannot share other `ConstraintLayout` defined in file."
667         errorLine1="            &lt;org.mozilla.fenix.settings.deletebrowsingdata.DeleteBrowsingDataItem"
668         errorLine2="             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
669         <location
670             file="src/main/res/layout/fragment_delete_browsing_data.xml"
671             line="79"
672             column="14"/>
673     </issue>
675     <issue
676         id="MozMultipleConstraintLayoutsAndCustomViews"
677         message="Custom views extending `ConstraintLayout` are less efficient because they cannot share other `ConstraintLayout` defined in file."
678         errorLine1="        &lt;org.mozilla.fenix.trackingprotection.TrackingProtectionCategoryItem"
679         errorLine2="         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
680         <location
681             file="src/main/res/layout/fragment_tracking_protection_blocking.xml"
682             line="36"
683             column="10"/>
684     </issue>
686     <issue
687         id="MozMultipleConstraintLayoutsAndCustomViews"
688         message="Custom views extending `ConstraintLayout` are less efficient because they cannot share other `ConstraintLayout` defined in file."
689         errorLine1="        &lt;org.mozilla.fenix.trackingprotection.TrackingProtectionCategoryItem"
690         errorLine2="         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
691         <location
692             file="src/main/res/layout/fragment_tracking_protection_blocking.xml"
693             line="46"
694             column="10"/>
695     </issue>
697     <issue
698         id="MozMultipleConstraintLayoutsAndCustomViews"
699         message="Custom views extending `ConstraintLayout` are less efficient because they cannot share other `ConstraintLayout` defined in file."
700         errorLine1="        &lt;org.mozilla.fenix.trackingprotection.TrackingProtectionCategoryItem"
701         errorLine2="         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
702         <location
703             file="src/main/res/layout/fragment_tracking_protection_blocking.xml"
704             line="56"
705             column="10"/>
706     </issue>
708     <issue
709         id="MozMultipleConstraintLayoutsAndCustomViews"
710         message="Custom views extending `ConstraintLayout` are less efficient because they cannot share other `ConstraintLayout` defined in file."
711         errorLine1="        &lt;org.mozilla.fenix.trackingprotection.TrackingProtectionCategoryItem"
712         errorLine2="         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
713         <location
714             file="src/main/res/layout/fragment_tracking_protection_blocking.xml"
715             line="66"
716             column="10"/>
717     </issue>
719     <issue
720         id="MozMultipleConstraintLayoutsAndCustomViews"
721         message="Custom views extending `ConstraintLayout` are less efficient because they cannot share other `ConstraintLayout` defined in file."
722         errorLine1="        &lt;org.mozilla.fenix.trackingprotection.TrackingProtectionCategoryItem"
723         errorLine2="         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
724         <location
725             file="src/main/res/layout/fragment_tracking_protection_blocking.xml"
726             line="76"
727             column="10"/>
728     </issue>
730     <issue
731         id="MozMultipleConstraintLayoutsAndCustomViews"
732         message="Custom views extending `ConstraintLayout` are less efficient because they cannot share other `ConstraintLayout` defined in file."
733         errorLine1="    &lt;org.mozilla.fenix.trackingprotection.SwitchWithDescription"
734         errorLine2="     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
735         <location
736             file="src/main/res/layout/quicksettings_tracking_protection.xml"
737             line="12"
738             column="6"/>
739     </issue>
741     <issue
742         id="Overdraw"
743         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`)"
744         errorLine1="        android:background=&quot;@color/sync_error_background_color&quot;"
745         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
746         <location
747             file="src/main/res/layout/account_auth_error_preference.xml"
748             line="13"
749             column="9"/>
750     </issue>
752     <issue
753         id="Overdraw"
754         message="Possible overdraw: Root element paints background `?android:selectableItemBackground` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
755         errorLine1="    android:background=&quot;?android:selectableItemBackground&quot;"
756         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
757         <location
758             file="src/main/res/layout/checkbox_left_preference.xml"
759             line="11"
760             column="5"/>
761     </issue>
763     <issue
764         id="Overdraw"
765         message="Possible overdraw: Root element paints background `?android:selectableItemBackground` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
766         errorLine1="    android:background=&quot;?android:selectableItemBackground&quot;"
767         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
768         <location
769             file="src/main/res/layout/checkbox_left_preference_etp.xml"
770             line="12"
771             column="5"/>
772     </issue>
774     <issue
775         id="Overdraw"
776         message="Possible overdraw: Root element paints background `?android:selectableItemBackground` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
777         errorLine1="    android:background=&quot;?android:selectableItemBackground&quot;"
778         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
779         <location
780             file="src/main/res/layout/checkbox_left_sub_preference.xml"
781             line="11"
782             column="5"/>
783     </issue>
785     <issue
786         id="Overdraw"
787         message="Possible overdraw: Root element paints background `?attr/layer1` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
788         errorLine1="    android:background=&quot;?attr/layer1&quot;>"
789         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
790         <location
791             file="src/main/res/layout/component_tracking_protection_panel.xml"
792             line="13"
793             column="5"/>
794     </issue>
796     <issue
797         id="Overdraw"
798         message="Possible overdraw: Root element paints background `?attr/layer1` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
799         errorLine1="    android:background=&quot;?attr/layer1&quot;"
800         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
801         <location
802             file="src/main/res/layout/connection_details_website_info.xml"
803             line="13"
804             column="5"/>
805     </issue>
807     <issue
808         id="Overdraw"
809         message="Possible overdraw: Root element paints background `?android:selectableItemBackground` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
810         errorLine1="    android:background=&quot;?android:selectableItemBackground&quot;"
811         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
812         <location
813             file="src/main/res/layout/custom_search_engine_radio_button.xml"
814             line="12"
815             column="5"/>
816     </issue>
818     <issue
819         id="Overdraw"
820         message="Possible overdraw: Root element paints background `?attr/layer1` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
821         errorLine1="    android:background=&quot;?attr/layer1&quot;"
822         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
823         <location
824             file="src/main/res/layout/download_dialog_layout.xml"
825             line="10"
826             column="5"/>
827     </issue>
829     <issue
830         id="Overdraw"
831         message="Possible overdraw: Root element paints background `?attr/scrimBackground` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
832         errorLine1="    android:background=&quot;?attr/scrimBackground&quot;>"
833         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
834         <location
835             file="src/main/res/layout/fragment_bookmark_search_dialog.xml"
836             line="13"
837             column="5"/>
838     </issue>
840     <issue
841         id="Overdraw"
842         message="Possible overdraw: Root element paints background `?scrim` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
843         errorLine1="    android:background=&quot;?scrim&quot;"
844         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
845         <location
846             file="src/main/res/layout/fragment_create_collection.xml"
847             line="11"
848             column="5"/>
849     </issue>
851     <issue
852         id="Overdraw"
853         message="Possible overdraw: Root element paints background `?scrim` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
854         errorLine1="    android:background=&quot;?scrim&quot;"
855         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
856         <location
857             file="src/main/res/layout/fragment_create_shortcut.xml"
858             line="11"
859             column="5"/>
860     </issue>
862     <issue
863         id="Overdraw"
864         message="Possible overdraw: Root element paints background `?attr/scrimBackground` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
865         errorLine1="    android:background=&quot;?attr/scrimBackground&quot;>"
866         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
867         <location
868             file="src/main/res/layout/fragment_history_search_dialog.xml"
869             line="13"
870             column="5"/>
871     </issue>
873     <issue
874         id="Overdraw"
875         message="Possible overdraw: Root element paints background `?homeBackground` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
876         errorLine1="    android:background=&quot;?homeBackground&quot;>"
877         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
878         <location
879             file="src/main/res/layout/fragment_home.xml"
880             line="16"
881             column="5"/>
882     </issue>
884     <issue
885         id="Overdraw"
886         message="Possible overdraw: Root element paints background `?scrim` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
887         errorLine1="    android:background=&quot;?scrim&quot;"
888         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
889         <location
890             file="src/main/res/layout/fragment_pwa_onboarding.xml"
891             line="11"
892             column="5"/>
893     </issue>
895     <issue
896         id="Overdraw"
897         message="Possible overdraw: Root element paints background `?attr/scrimBackground` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
898         errorLine1="    android:background=&quot;?attr/scrimBackground&quot;>"
899         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
900         <location
901             file="src/main/res/layout/fragment_search_dialog.xml"
902             line="13"
903             column="5"/>
904     </issue>
906     <issue
907         id="Overdraw"
908         message="Possible overdraw: Root element paints background `?attr/layer1` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
909         errorLine1="    android:background=&quot;?attr/layer1&quot;"
910         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
911         <location
912             file="src/main/res/layout/fragment_sign_out.xml"
913             line="10"
914             column="5"/>
915     </issue>
917     <issue
918         id="Overdraw"
919         message="Possible overdraw: Root element paints background `?attr/layer1` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
920         errorLine1="    android:background=&quot;?attr/layer1&quot;"
921         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
922         <location
923             file="src/main/res/layout/info_banner.xml"
924             line="11"
925             column="5"/>
926     </issue>
928     <issue
929         id="Overdraw"
930         message="Possible overdraw: Root element paints background `?attr/selectableItemBackground` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
931         errorLine1="    android:background=&quot;?attr/selectableItemBackground&quot;"
932         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
933         <location
934             file="src/main/res/layout/layout_add_credit_card.xml"
935             line="11"
936             column="5"/>
937     </issue>
939     <issue
940         id="Overdraw"
941         message="Possible overdraw: Root element paints background `?attr/selectableItemBackground` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
942         errorLine1="    android:background=&quot;?attr/selectableItemBackground&quot;"
943         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
944         <location
945             file="src/main/res/layout/layout_add_login.xml"
946             line="11"
947             column="5"/>
948     </issue>
950     <issue
951         id="Overdraw"
952         message="Possible overdraw: Root element paints background `?attr/layer1` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
953         errorLine1="    android:background=&quot;?attr/layer1&quot;"
954         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
955         <location
956             file="src/main/res/layout/navigation_toolbar.xml"
957             line="14"
958             column="5"/>
959     </issue>
961     <issue
962         id="Overdraw"
963         message="Possible overdraw: Root element paints background `?android:selectableItemBackground` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
964         errorLine1="    android:background=&quot;?android:selectableItemBackground&quot;"
965         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
966         <location
967             file="src/main/res/layout/preference_search_add_engine.xml"
968             line="10"
969             column="5"/>
970     </issue>
972     <issue
973         id="Overdraw"
974         message="Possible overdraw: Root element paints background `?android:selectableItemBackground` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
975         errorLine1="    android:background=&quot;?android:selectableItemBackground&quot;"
976         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
977         <location
978             file="src/main/res/layout/search_engine_radio_button.xml"
979             line="11"
980             column="5"/>
981     </issue>
983     <issue
984         id="Overdraw"
985         message="Possible overdraw: Root element paints background `?attr/layer1` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
986         errorLine1="    android:background=&quot;?attr/layer1&quot;"
987         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
988         <location
989             file="src/main/res/layout/stub_find_in_page.xml"
990             line="11"
991             column="5"/>
992     </issue>
994     <issue
995         id="Overdraw"
996         message="Possible overdraw: Root element paints background `#FF0250BB` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
997         errorLine1="    android:background=&quot;#FF0250BB&quot;>"
998         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
999         <location
1000             file="src/main/res/layout/tracking_protection_learn_more_preference.xml"
1001             line="10"
1002             column="5"/>
1003     </issue>
1005     <issue
1006         id="Overdraw"
1007         message="Possible overdraw: Root element paints background `?attr/layer2` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
1008         errorLine1="    android:background=&quot;?attr/layer2&quot;>"
1009         errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1010         <location
1011             file="src/main/res/layout/view_crash_reporter.xml"
1012             line="11"
1013             column="5"/>
1014     </issue>
1016     <issue
1017         id="UnusedResources"
1018         message="The resource `R.string.resource_scheme` appears to be unused"
1019         errorLine1="    &lt;string name=&quot;resource_scheme&quot;>&quot;resource://&quot;&lt;/string>"
1020         errorLine2="            ~~~~~~~~~~~~~~~~~~~~~~">
1021         <location
1022             file="src/main/res/values/arrays.xml"
1023             line="39"
1024             column="13"/>
1025     </issue>
1027     <issue
1028         id="UnusedResources"
1029         message="The resource `R.string.chrome_scheme` appears to be unused"
1030         errorLine1="    &lt;string name=&quot;chrome_scheme&quot;>&quot;chrome://&lt;/string>"
1031         errorLine2="            ~~~~~~~~~~~~~~~~~~~~">
1032         <location
1033             file="src/main/res/values/arrays.xml"
1034             line="40"
1035             column="13"/>
1036     </issue>
1038     <issue
1039         id="UnusedResources"
1040         message="The resource `R.string.about_scheme` appears to be unused"
1041         errorLine1="    &lt;string name=&quot;about_scheme&quot;>&quot;about:&quot;&lt;/string>"
1042         errorLine2="            ~~~~~~~~~~~~~~~~~~~">
1043         <location
1044             file="src/main/res/values/arrays.xml"
1045             line="41"
1046             column="13"/>
1047     </issue>
1049     <issue
1050         id="UnusedResources"
1051         message="The resource `R.array.mozac_url_schemes_blocklist` appears to be unused"
1052         errorLine1="    &lt;string-array name=&quot;mozac_url_schemes_blocklist&quot; >"
1053         errorLine2="                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1054         <location
1055             file="src/main/res/values/arrays.xml"
1056             line="42"
1057             column="19"/>
1058     </issue>
1060     <issue
1061         id="UnusedResources"
1062         message="The resource `R.dimen.mozac_browser_menu_corner_radius` appears to be unused"
1063         errorLine1="    &lt;dimen name=&quot;mozac_browser_menu_corner_radius&quot;>8dp&lt;/dimen>"
1064         errorLine2="           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1065         <location
1066             file="src/main/res/values/dimens.xml"
1067             line="12"
1068             column="12"/>
1069     </issue>
1071     <issue
1072         id="UnusedResources"
1073         message="The resource `R.dimen.mozac_browser_menu2_corner_radius` appears to be unused"
1074         errorLine1="    &lt;dimen name=&quot;mozac_browser_menu2_corner_radius&quot;>8dp&lt;/dimen>"
1075         errorLine2="           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1076         <location
1077             file="src/main/res/values/dimens.xml"
1078             line="13"
1079             column="12"/>
1080     </issue>
1082     <issue
1083         id="UnusedResources"
1084         message="The resource `R.drawable.ic_firefox` appears to be unused"
1085         errorLine1="&lt;vector android:height=&quot;112.7dp&quot; android:viewportHeight=&quot;54.28&quot;"
1086         errorLine2="^">
1087         <location
1088             file="src/main/res/drawable/ic_firefox.xml"
1089             line="1"
1090             column="1"/>
1091     </issue>
1093     <issue
1094         id="UnusedResources"
1095         message="The resource `R.mipmap.ic_launcher_private` appears to be unused"
1096         errorLine1="&lt;adaptive-icon xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;>"
1097         errorLine2="^">
1098         <location
1099             file="src/main/res/mipmap-anydpi-v26/ic_launcher_private.xml"
1100             line="6"
1101             column="1"/>
1102     </issue>
1104     <issue
1105         id="IconXmlAndPng"
1106         message="The following images appear both as density independent `.xml` files and as bitmap files: /Users/oracle/Projects/fenix/app/src/main/res/drawable-hdpi/ic_logo_wordmark_normal.png, /Users/oracle/Projects/fenix/app/src/main/res/drawable-night/ic_logo_wordmark_normal.xml">
1107         <location
1108             file="src/main/res/drawable-xxxhdpi/ic_logo_wordmark_normal.png"/>
1109         <location
1110             file="src/main/res/drawable-xxhdpi/ic_logo_wordmark_normal.png"/>
1111         <location
1112             file="src/main/res/drawable-xhdpi/ic_logo_wordmark_normal.png"/>
1113         <location
1114             file="src/main/res/drawable-night/ic_logo_wordmark_normal.xml"/>
1115         <location
1116             file="src/main/res/drawable-mdpi/ic_logo_wordmark_normal.png"/>
1117         <location
1118             file="src/main/res/drawable-hdpi/ic_logo_wordmark_normal.png"/>
1119     </issue>
1121     <issue
1122         id="ConvertToWebp"
1123         message="One or more images in this project can be converted to the WebP format which typically results in smaller file sizes, even for lossless conversion">
1124         <location
1125             file="src/debug/res/mipmap-xxxhdpi/ic_launcher_round.png"/>
1126     </issue>
1128     <issue
1129         id="ConvertToWebp"
1130         message="One or more images in this project can be converted to the WebP format which typically results in smaller file sizes, even for lossless conversion">
1131         <location
1132             file="src/main/res/drawable-land-xxhdpi/sunrise.jpg"/>
1133     </issue>
1135     <issue
1136         id="IconDuplicatesConfig"
1137         message="The `amethyst.png` icon has identical contents in the following configuration folders: drawable-port-xhdpi, drawable-xhdpi">
1138         <location
1139             file="src/main/res/drawable-xhdpi/amethyst.png"/>
1140         <location
1141             file="src/main/res/drawable-port-xhdpi/amethyst.png"/>
1142     </issue>
1144     <issue
1145         id="IconDuplicatesConfig"
1146         message="The `amethyst.png` icon has identical contents in the following configuration folders: drawable-port-xxhdpi, drawable-xxhdpi">
1147         <location
1148             file="src/main/res/drawable-xxhdpi/amethyst.png"/>
1149         <location
1150             file="src/main/res/drawable-port-xxhdpi/amethyst.png"/>
1151     </issue>
1153     <issue
1154         id="IconLocation"
1155         message="Found bitmap drawable `res/drawable/ic_baidu.png` in densityless folder">
1156         <location
1157             file="src/main/res/drawable/ic_baidu.png"/>
1158     </issue>
1160     <issue
1161         id="IconLocation"
1162         message="Found bitmap drawable `res/drawable/ic_jd.png` in densityless folder">
1163         <location
1164             file="src/main/res/drawable/ic_jd.png"/>
1165     </issue>
1167     <issue
1168         id="IconLocation"
1169         message="Found bitmap drawable `res/drawable/ic_meituan.png` in densityless folder">
1170         <location
1171             file="src/main/res/drawable/ic_meituan.png"/>
1172     </issue>
1174     <issue
1175         id="IconLocation"
1176         message="Found bitmap drawable `res/drawable/ic_pdd.png` in densityless folder">
1177         <location
1178             file="src/main/res/drawable/ic_pdd.png"/>
1179     </issue>
1181     <issue
1182         id="IconLocation"
1183         message="Found bitmap drawable `res/drawable/ic_tc.png` in densityless folder">
1184         <location
1185             file="src/main/res/drawable/ic_tc.png"/>
1186     </issue>
1188     <issue
1189         id="IconDensities"
1190         message="Missing the following drawables in `drawable-mdpi`: amethyst.png, cerulean.png, fenix_search_widget.png, sunrise.jpg">
1191         <location
1192             file="src/main/res/drawable-mdpi"/>
1193     </issue>
1195     <issue
1196         id="IconDensities"
1197         message="Missing the following drawables in `drawable-xhdpi`: cerulean.png, fenix_search_widget.png, sunrise.jpg">
1198         <location
1199             file="src/main/res/drawable-xhdpi"/>
1200     </issue>
1202     <issue
1203         id="IconDensities"
1204         message="Missing the following drawables in `drawable-xxhdpi`: cerulean.png, fenix_search_widget.png, sunrise.jpg">
1205         <location
1206             file="src/main/res/drawable-xxhdpi"/>
1207     </issue>
1209     <issue
1210         id="SmallSp"
1211         message="Avoid using sizes smaller than `11sp`: `10sp`"
1212         errorLine1="        android:textSize=&quot;10sp&quot;"
1213         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~">
1214         <location
1215             file="src/main/res/layout/account_share_list_item.xml"
1216             line="39"
1217             column="9"/>
1218     </issue>
1220     <issue
1221         id="SmallSp"
1222         message="Avoid using sizes smaller than `11sp`: `10sp`"
1223         errorLine1="        android:textSize=&quot;10sp&quot;"
1224         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~">
1225         <location
1226             file="src/main/res/layout/app_share_list_item.xml"
1227             line="37"
1228             column="9"/>
1229     </issue>
1231     <issue
1232         id="ClickableViewAccessibility"
1233         message="Custom view ``AwesomeBarWrapper`` has `setOnTouchListener` called on it but does not override `performClick`"
1234         errorLine1="        binding.awesomeBar.setOnTouchListener { _, _ ->"
1235         errorLine2="        ^">
1236         <location
1237             file="src/main/java/org/mozilla/fenix/search/SearchDialogFragment.kt"
1238             line="244"
1239             column="9"/>
1240     </issue>
1242     <issue
1243         id="ClickableViewAccessibility"
1244         message="`onTouch` lambda should call `View#performClick` when a click is detected"
1245         errorLine1="        binding.awesomeBar.setOnTouchListener { _, _ ->"
1246         errorLine2="                                              ^">
1247         <location
1248             file="src/main/java/org/mozilla/fenix/search/SearchDialogFragment.kt"
1249             line="244"
1250             column="47"/>
1251     </issue>
1253     <issue
1254         id="ClickableViewAccessibility"
1255         message="`onTouch` lambda should call `View#performClick` when a click is detected"
1256         errorLine1="                dialog?.window?.decorView?.setOnTouchListener { _, event ->"
1257         errorLine2="                                                              ^">
1258         <location
1259             file="src/main/java/org/mozilla/fenix/search/SearchDialogFragment.kt"
1260             line="259"
1261             column="63"/>
1262     </issue>
1264     <issue
1265         id="ClickableViewAccessibility"
1266         message="Custom view ``SearchDialogFragmentConstraintLayout`` has `setOnTouchListener` called on it but does not override `performClick`"
1267         errorLine1="                binding.searchWrapper.setOnTouchListener { _, _ ->"
1268         errorLine2="                ^">
1269         <location
1270             file="src/main/java/org/mozilla/fenix/search/SearchDialogFragment.kt"
1271             line="306"
1272             column="17"/>
1273     </issue>
1275     <issue
1276         id="ClickableViewAccessibility"
1277         message="`onTouch` lambda should call `View#performClick` when a click is detected"
1278         errorLine1="                binding.searchWrapper.setOnTouchListener { _, _ ->"
1279         errorLine2="                                                         ^">
1280         <location
1281             file="src/main/java/org/mozilla/fenix/search/SearchDialogFragment.kt"
1282             line="306"
1283             column="58"/>
1284     </issue>
1286     <issue
1287         id="ClickableViewAccessibility"
1288         message="Custom view ``SearchDialogFragmentConstraintLayout`` has `setOnTouchListener` called on it but does not override `performClick`"
1289         errorLine1="                binding.searchWrapper.setOnTouchListener { _, _ ->"
1290         errorLine2="                ^">
1291         <location
1292             file="src/main/java/org/mozilla/fenix/search/SearchDialogFragment.kt"
1293             line="312"
1294             column="17"/>
1295     </issue>
1297     <issue
1298         id="ClickableViewAccessibility"
1299         message="`onTouch` lambda should call `View#performClick` when a click is detected"
1300         errorLine1="                binding.searchWrapper.setOnTouchListener { _, _ ->"
1301         errorLine2="                                                         ^">
1302         <location
1303             file="src/main/java/org/mozilla/fenix/search/SearchDialogFragment.kt"
1304             line="312"
1305             column="58"/>
1306     </issue>
1308     <issue
1309         id="ClickableViewAccessibility"
1310         message="Custom view `SwipeGestureLayout` overrides `onTouchEvent` but not `performClick`"
1311         errorLine1="    override fun onTouchEvent(event: MotionEvent?): Boolean {"
1312         errorLine2="                 ~~~~~~~~~~~~">
1313         <location
1314             file="src/main/java/org/mozilla/fenix/browser/SwipeGestureLayout.kt"
1315             line="120"
1316             column="18"/>
1317     </issue>
1319     <issue
1320         id="ContentDescription"
1321         message="Missing `contentDescription` attribute on image"
1322         errorLine1="        &lt;ImageView"
1323         errorLine2="         ~~~~~~~~~">
1324         <location
1325             file="src/main/res/layout/library_site_item.xml"
1326             line="30"
1327             column="10"/>
1328     </issue>
1330     <issue
1331         id="ContentDescription"
1332         message="Missing `contentDescription` attribute on image"
1333         errorLine1="    &lt;ImageView"
1334         errorLine2="     ~~~~~~~~~">
1335         <location
1336             file="src/main/res/layout/sign_in_preference.xml"
1337             line="17"
1338             column="6"/>
1339     </issue>
1341     <issue
1342         id="RtlSymmetry"
1343         message="When you define `paddingStart` you should probably also define `paddingEnd` for right-to-left symmetry"
1344         errorLine1="    android:paddingStart=&quot;@dimen/custom_checkbox_alignment_margin&quot;>"
1345         errorLine2="    ~~~~~~~~~~~~~~~~~~~~">
1346         <location
1347             file="src/main/res/layout/checkbox_left_sub_preference.xml"
1348             line="15"
1349             column="5"/>
1350     </issue>
1352     <issue
1353         id="RtlHardcoded"
1354         message="Consider replacing `android:layout_marginLeft` with `android:layout_marginStart=&quot;10dp&quot;` to better support right-to-left layouts"
1355         errorLine1="                    android:layout_marginLeft=&quot;10dp&quot;"
1356         errorLine2="                    ~~~~~~~~~~~~~~~~~~~~~~~~~">
1357         <location
1358             file="src/main/res/layout/activity_privacy_content_display.xml"
1359             line="21"
1360             column="21"/>
1361     </issue>
1363 </issues>