trisquel-icecat/icecat/mobile/android/android-components/components/feature/prompts/lint-baseline.xml
2025-10-06 02:35:48 -06:00

48 lines
2 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="ButtonStyleXmlDetector"
message="All buttons must have a style, try using NeutralButton or similar."
errorLine1=" &lt;Button"
errorLine2=" ~~~~~~">
<location
file="src/main/res/layout/mozac_feature_prompt_save_credit_card_prompt.xml"
line="123"
column="6"/>
</issue>
<issue
id="ButtonStyleXmlDetector"
message="All buttons must have a style, try using NeutralButton or similar."
errorLine1=" &lt;Button"
errorLine2=" ~~~~~~">
<location
file="src/main/res/layout/mozac_feature_prompt_save_login_prompt.xml"
line="128"
column="6"/>
</issue>
<issue
id="UnsafeCompatGetDrawable"
message="This call can lead to crashes, replace with AppCompatResources.getDrawable"
errorLine1=" ContextCompat.getDrawable(itemView.context, R.drawable.color_picker_row_bg)?.getPadding(backgroundPadding)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/mozilla/components/feature/prompts/dialog/BasicColorAdapter.kt"
line="90"
column="9"/>
</issue>
<issue
id="UnsafeCompatGetDrawable"
message="This call can lead to crashes, replace with AppCompatResources.getDrawable"
errorLine1=" ContextCompat.getDrawable(itemView.context, R.drawable.color_picker_checkmark)?.apply {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/mozilla/components/feature/prompts/dialog/BasicColorAdapter.kt"
line="93"
column="9"/>
</issue>
</issues>