Source code
Revision control
Copy as Markdown
Other Tools
<?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>