summaryrefslogtreecommitdiff
path: root/library/lint-baseline-gingerbread-lib.xml
diff options
context:
space:
mode:
authorPedro Loureiro <pedroql@google.com>2021-02-25 15:31:55 +0000
committerPedro Loureiro <pedroql@google.com>2021-04-13 15:29:11 +0000
commit4e202a0b5f919c4d833eb6b96ebb127ce1070e64 (patch)
treeea6bee30e256542ad06c28324a3263ea1f7f39e7 /library/lint-baseline-gingerbread-lib.xml
parentd6061f232e1a3b405e349983f89093d7196f7480 (diff)
downloadsetupwizard-4e202a0b5f919c4d833eb6b96ebb127ce1070e64.tar.gz
Add lint baseline to address NewApi errorsandroid-s-beta-2android-s-beta-1
We are enabling a new lint check where the min sdk != compile sdk. It has produced a lot of errors and adding the baseline file(s) allows us to continue work without introducing more problems. Bug: 150847901 Test: m lint-check Change-Id: I508595cc357d19a90164f9573e4ee1f1f2e3f6d8 Merged-In: I508595cc357d19a90164f9573e4ee1f1f2e3f6d8
Diffstat (limited to 'library/lint-baseline-gingerbread-lib.xml')
-rw-r--r--library/lint-baseline-gingerbread-lib.xml37
1 files changed, 37 insertions, 0 deletions
diff --git a/library/lint-baseline-gingerbread-lib.xml b/library/lint-baseline-gingerbread-lib.xml
new file mode 100644
index 0000000..3f25063
--- /dev/null
+++ b/library/lint-baseline-gingerbread-lib.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<issues format="5" by="lint 4.1.0" client="cli" variant="all" version="4.1.0">
+
+ <issue
+ id="NewApi"
+ message="`&lt;vector>` requires API level 21 (current min is 14) or building with Android Gradle plugin 1.4 or higher"
+ errorLine1="&lt;vector xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;"
+ errorLine2=" ~~~~~~">
+ <location
+ file="frameworks/opt/setupwizard/library/gingerbread/res/drawable/suw_ic_expand_less.xml"
+ line="18"
+ column="2"/>
+ </issue>
+
+ <issue
+ id="NewApi"
+ message="`&lt;vector>` requires API level 21 (current min is 14) or building with Android Gradle plugin 1.4 or higher"
+ errorLine1="&lt;vector xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;"
+ errorLine2=" ~~~~~~">
+ <location
+ file="frameworks/opt/setupwizard/library/gingerbread/res/drawable/suw_ic_expand_more.xml"
+ line="18"
+ column="2"/>
+ </issue>
+
+ <issue
+ id="NewApi"
+ message="Attribute `paddingStart` referenced here can result in a crash on some specific devices older than API 17 (current min is 14)"
+ errorLine1=" android:paddingStart=&quot;?attr/listPreferredItemPaddingLeft&quot;>"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="frameworks/opt/setupwizard/library/gingerbread/res/layout/suw_items_expandable_switch.xml"
+ line="38"
+ column="9"/>
+ </issue>
+
+</issues>