125 lines
5.4 KiB
XML
125 lines
5.4 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="UnsafeCompatGetDrawable"
|
|
message="This call can lead to crashes, replace with AppCompatResources.getDrawable"
|
|
errorLine1=" val background = ContextCompat.getDrawable(this, R.drawable.focus_background)"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/org/mozilla/samples/toolbar/ToolbarActivity.kt"
|
|
line="151"
|
|
column="26"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnsafeCompatGetDrawable"
|
|
message="This call can lead to crashes, replace with AppCompatResources.getDrawable"
|
|
errorLine1=" val background = ContextCompat.getDrawable(this, R.drawable.focus_background)"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/org/mozilla/samples/toolbar/ToolbarActivity.kt"
|
|
line="261"
|
|
column="26"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnsafeCompatGetDrawable"
|
|
message="This call can lead to crashes, replace with AppCompatResources.getDrawable"
|
|
errorLine1=" ContextCompat.getDrawable(this, R.drawable.fenix_url_background),"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/org/mozilla/samples/toolbar/ToolbarActivity.kt"
|
|
line="373"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnsafeCompatGetDrawable"
|
|
message="This call can lead to crashes, replace with AppCompatResources.getDrawable"
|
|
errorLine1=" ContextCompat.getDrawable(this, R.drawable.fenix_url_background),"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/org/mozilla/samples/toolbar/ToolbarActivity.kt"
|
|
line="414"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnsafeCompatGetDrawable"
|
|
message="This call can lead to crashes, replace with AppCompatResources.getDrawable"
|
|
errorLine1=" ContextCompat.getDrawable(this, iconsR.drawable.mozac_ic_search_24)!!,"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/org/mozilla/samples/toolbar/ToolbarActivity.kt"
|
|
line="417"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnsafeCompatGetDrawable"
|
|
message="This call can lead to crashes, replace with AppCompatResources.getDrawable"
|
|
errorLine1=" val drawableIcon = ContextCompat.getDrawable(this, iconsR.drawable.mozac_ic_cross_24)"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/org/mozilla/samples/toolbar/ToolbarActivity.kt"
|
|
line="467"
|
|
column="28"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnsafeCompatGetDrawable"
|
|
message="This call can lead to crashes, replace with AppCompatResources.getDrawable"
|
|
errorLine1=" val drawable = ContextCompat.getDrawable(this, iconsR.drawable.mozac_ic_share_android_24)?.apply {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/org/mozilla/samples/toolbar/ToolbarActivity.kt"
|
|
line="481"
|
|
column="24"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.color.mozac_ui_tabcounter_default_tint` appears to be unused"
|
|
errorLine1=" <color name="mozac_ui_tabcounter_default_tint">#ff15141a</color>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/colors.xml"
|
|
line="8"
|
|
column="12"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.string.history_search_engine_description` appears to be unused"
|
|
errorLine1=" <string name="history_search_engine_description">Search within history</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/strings.xml"
|
|
line="16"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="MonochromeLauncherIcon"
|
|
message="The application adaptive icon is missing a monochrome tag"
|
|
errorLine1="<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">"
|
|
errorLine2="^">
|
|
<location
|
|
file="src/main/res/mipmap-anydpi-v26/ic_launcher.xml"
|
|
line="5"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="MonochromeLauncherIcon"
|
|
message="The application adaptive roundIcon is missing a monochrome tag"
|
|
errorLine1="<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">"
|
|
errorLine2="^">
|
|
<location
|
|
file="src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml"
|
|
line="5"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
</issues>
|