Backed out 2 changesets (bug 1872229) for causing toolchain failures CLOSED TREE

Backed out changeset 2fd0c027ec2c (bug 1872229)
Backed out changeset 7efbd8e4381d (bug 1872229)
This commit is contained in:
smolnar
2025-04-10 03:38:28 +03:00
parent 5ec214845b
commit aaed8aeb2c
145 changed files with 779 additions and 2313 deletions

View File

@@ -1,114 +0,0 @@
<?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="150"
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="260"
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="372"
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="413"
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="416"
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="466"
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="480"
column="24"/>
</issue>
<issue
id="UnsafeCompatGetDrawable"
message="This call can lead to crashes, replace with AppCompatResources.getDrawable"
errorLine1=" icon = ContextCompat.getDrawable("
errorLine2=" ^">
<location
file="src/main/java/org/mozilla/samples/toolbar/ToolbarActivity.kt"
line="554"
column="56"/>
</issue>
<issue
id="MonochromeLauncherIcon"
message="The application adaptive icon is missing a monochrome tag"
errorLine1="&lt;adaptive-icon xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;>"
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="&lt;adaptive-icon xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;>"
errorLine2="^">
<location
file="src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml"
line="5"
column="1"/>
</issue>
</issues>