Pedro Loureiro | d34f536 | 2021-02-25 15:31:51 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <issues format="5" by="lint 4.1.0" client="cli" variant="all" version="4.1.0"> |
| 3 | |
| 4 | <issue |
| 5 | id="NewApi" |
| 6 | message="Call requires API level 23 (current min is 21): `android.content.res.Resources#getColor`" |
| 7 | errorLine1=" .getColor(colorRes, null /* theme */);" |
| 8 | errorLine2=" ~~~~~~~~"> |
| 9 | <location |
| 10 | file="frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/AdaptiveIcon.java" |
| 11 | line="78" |
| 12 | column="34"/> |
| 13 | </issue> |
| 14 | |
| 15 | <issue |
| 16 | id="NewApi" |
| 17 | message="Call requires API level 23 (current min is 21): `android.content.Context#getColor`" |
| 18 | errorLine1=" setBackgroundColor(context.getColor(R.color.homepage_generic_icon_background));" |
| 19 | errorLine2=" ~~~~~~~~"> |
| 20 | <location |
| 21 | file="frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/AdaptiveIcon.java" |
| 22 | line="90" |
| 23 | column="36"/> |
| 24 | </issue> |
| 25 | |
| 26 | <issue |
| 27 | id="NewApi" |
| 28 | message="Class requires API level 23 (current min is 21): `android.graphics.drawable.DrawableWrapper`" |
| 29 | errorLine1="public class AdaptiveOutlineDrawable extends DrawableWrapper {" |
| 30 | errorLine2=" ~~~~~~~~~~~~~~~"> |
| 31 | <location |
| 32 | file="frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/AdaptiveOutlineDrawable.java" |
| 33 | line="43" |
| 34 | column="46"/> |
| 35 | </issue> |
| 36 | |
| 37 | <issue |
| 38 | id="NewApi" |
| 39 | message="Call requires API level 23 (current min is 21): `new android.graphics.drawable.DrawableWrapper`" |
| 40 | errorLine1=" super(new AdaptiveIconShapeDrawable(resources));" |
| 41 | errorLine2=" ~~~~~"> |
| 42 | <location |
| 43 | file="frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/AdaptiveOutlineDrawable.java" |
| 44 | line="65" |
| 45 | column="9"/> |
| 46 | </issue> |
| 47 | |
| 48 | <issue |
| 49 | id="NewApi" |
| 50 | message="Call requires API level 23 (current min is 21): `new android.graphics.drawable.DrawableWrapper`" |
| 51 | errorLine1=" super(new AdaptiveIconShapeDrawable(resources));" |
| 52 | errorLine2=" ~~~~~"> |
| 53 | <location |
| 54 | file="frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/AdaptiveOutlineDrawable.java" |
| 55 | line="72" |
| 56 | column="9"/> |
| 57 | </issue> |
| 58 | |
| 59 | <issue |
| 60 | id="NewApi" |
| 61 | message="Call requires API level 23 (current min is 21): `android.graphics.drawable.DrawableWrapper#getDrawable`" |
| 62 | errorLine1=" getDrawable().setTint(Color.WHITE);" |
| 63 | errorLine2=" ~~~~~~~~~~~"> |
| 64 | <location |
| 65 | file="frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/AdaptiveOutlineDrawable.java" |
| 66 | line="80" |
| 67 | column="9"/> |
| 68 | </issue> |
| 69 | |
| 70 | <issue |
| 71 | id="NewApi" |
| 72 | message="Call requires API level 23 (current min is 21): `android.content.res.Resources#getColor`" |
| 73 | errorLine1=" return resources.getColor(resId, /* theme */ null);" |
| 74 | errorLine2=" ~~~~~~~~"> |
| 75 | <location |
| 76 | file="frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/AdaptiveOutlineDrawable.java" |
| 77 | line="105" |
| 78 | column="26"/> |
| 79 | </issue> |
| 80 | |
| 81 | </issues> |