summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Loureiro <pedroql@google.com>2021-02-25 15:31:42 +0000
committerPedro Loureiro <pedroql@google.com>2021-04-14 10:38:50 +0000
commit71f3b1924ff5c2ae778a5e33d662edc2cc5de774 (patch)
treecaf062f74300c2371bdba95a402dd337d56ae72d
parentb84a3a9cadd76f160995a1cb89382ae03b96d3ef (diff)
downloadsetupcompat-71f3b1924ff5c2ae778a5e33d662edc2cc5de774.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: I21d7d6d9794b94083a4f4f33a3c65c2c6b0488a7 Merged-In: I21d7d6d9794b94083a4f4f33a3c65c2c6b0488a7
-rw-r--r--lint-baseline.xml59
1 files changed, 59 insertions, 0 deletions
diff --git a/lint-baseline.xml b/lint-baseline.xml
new file mode 100644
index 0000000..ac87760
--- /dev/null
+++ b/lint-baseline.xml
@@ -0,0 +1,59 @@
+<?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="`android:Widget.Material.Button.Colored` requires API level 23 (current min is 14)"
+ errorLine1=" &lt;style name=&quot;SucPartnerCustomizationButton.Primary&quot; parent=&quot;android:Widget.Material.Button.Colored&quot;>"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="external/setupcompat/main/res/values/styles.xml"
+ line="40"
+ column="57"/>
+ </issue>
+
+ <issue
+ id="NewApi"
+ message="`android:fontFamily` requires API level 16 (current min is 14)"
+ errorLine1=" &lt;item name=&quot;android:fontFamily&quot;>?attr/sucFooterBarButtonFontFamily&lt;/item>"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="external/setupcompat/main/res/values/styles.xml"
+ line="48"
+ column="15"/>
+ </issue>
+
+ <issue
+ id="NewApi"
+ message="`android:stateListAnimator` requires API level 21 (current min is 14)"
+ errorLine1=" &lt;item name=&quot;android:stateListAnimator&quot;>@null&lt;/item>"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="external/setupcompat/main/res/values/styles.xml"
+ line="52"
+ column="15"/>
+ </issue>
+
+ <issue
+ id="NewApi"
+ message="`android:Widget.Material.Button.Borderless.Colored` requires API level 21 (current min is 14)"
+ errorLine1=" &lt;style name=&quot;SucPartnerCustomizationButton.Secondary&quot; parent=&quot;android:Widget.Material.Button.Borderless.Colored&quot;>"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="external/setupcompat/main/res/values/styles.xml"
+ line="58"
+ column="59"/>
+ </issue>
+
+ <issue
+ id="NewApi"
+ message="`android:fontFamily` requires API level 16 (current min is 14)"
+ errorLine1=" &lt;item name=&quot;android:fontFamily&quot;>?attr/sucFooterBarButtonFontFamily&lt;/item>"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="external/setupcompat/main/res/values/styles.xml"
+ line="66"
+ column="15"/>
+ </issue>
+
+</issues>