1
0
Fork 0
firefox/mobile/android/android-components/components/browser/menu/lint-baseline.xml
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

48 lines
2.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.9.1" type="baseline" client="gradle" dependencies="false" name="AGP (8.9.1)" variant="all" version="8.9.1">
<issue
id="UnsafeCompatGetColorStateList"
message="This call can lead to crashes, replace with AppCompatResources.getColorStateList"
errorLine1=" imageTintList = ContextCompat.getColorStateList(context, tintColorResource)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/mozilla/components/browser/menu/item/BrowserMenuImageText.kt"
line="29"
column="25"/>
</issue>
<issue
id="UnsafeCompatGetColorStateList"
message="This call can lead to crashes, replace with AppCompatResources.getColorStateList"
errorLine1=" imageTintList = ContextCompat.getColorStateList(context, tintColorResource)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/mozilla/components/browser/menu/item/BrowserMenuImageText.kt"
line="29"
column="25"/>
</issue>
<issue
id="UnsafeCompatGetDrawable"
message="This call can lead to crashes, replace with AppCompatResources.getDrawable"
errorLine1=" ContextCompat.getDrawable(button.context, primaryStateIconResource)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/mozilla/components/browser/menu/item/BrowserMenuImageTextCheckboxButton.kt"
line="82"
column="13"/>
</issue>
<issue
id="UnsafeCompatGetDrawable"
message="This call can lead to crashes, replace with AppCompatResources.getDrawable"
errorLine1=" ContextCompat.getDrawable(button.context, secondaryStateIconResource)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/mozilla/components/browser/menu/item/BrowserMenuImageTextCheckboxButton.kt"
line="84"
column="13"/>
</issue>
</issues>