81 lines
3.5 KiB
XML
81 lines
3.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<issues format="6" by="lint 8.4.0-alpha01" type="baseline" client="" dependencies="true" name="" variant="all" version="8.4.0-alpha01">
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 23 (current min is 21): `android.content.res.Resources#getColor`"
|
|
errorLine1=" .getColor(colorRes, null /* theme */);"
|
|
errorLine2=" ~~~~~~~~">
|
|
<location
|
|
file="frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/AdaptiveIcon.java"
|
|
line="79"
|
|
column="34"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 23 (current min is 21): `android.content.Context#getColor`"
|
|
errorLine1=" setBackgroundColor(context.getColor(R.color.homepage_generic_icon_background));"
|
|
errorLine2=" ~~~~~~~~">
|
|
<location
|
|
file="frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/AdaptiveIcon.java"
|
|
line="91"
|
|
column="36"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 23 (current min is 21): `android.graphics.drawable.DrawableWrapper`"
|
|
errorLine1="public class AdaptiveOutlineDrawable extends DrawableWrapper {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/AdaptiveOutlineDrawable.java"
|
|
line="45"
|
|
column="46"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 23 (current min is 21): `new android.graphics.drawable.DrawableWrapper`"
|
|
errorLine1=" super(new AdaptiveIconShapeDrawable(resources));"
|
|
errorLine2=" ~~~~~">
|
|
<location
|
|
file="frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/AdaptiveOutlineDrawable.java"
|
|
line="67"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 23 (current min is 21): `new android.graphics.drawable.DrawableWrapper`"
|
|
errorLine1=" super(new AdaptiveIconShapeDrawable(resources));"
|
|
errorLine2=" ~~~~~">
|
|
<location
|
|
file="frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/AdaptiveOutlineDrawable.java"
|
|
line="74"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 23 (current min is 21): `android.graphics.drawable.DrawableWrapper#getDrawable`"
|
|
errorLine1=" getDrawable().setTint(Color.WHITE);"
|
|
errorLine2=" ~~~~~~~~~~~">
|
|
<location
|
|
file="frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/AdaptiveOutlineDrawable.java"
|
|
line="82"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 23 (current min is 21): `android.content.res.Resources#getColor`"
|
|
errorLine1=" return resources.getColor(resId, /* theme */ null);"
|
|
errorLine2=" ~~~~~~~~">
|
|
<location
|
|
file="frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/AdaptiveOutlineDrawable.java"
|
|
line="107"
|
|
column="26"/>
|
|
</issue>
|
|
|
|
</issues> |