Baseline NewApi issues
NewApi is a lint check that you don't call framework methods that were
introduced in versions later than your min_sdk_version. We want to
make this an error, so we're baselineing all existing issues.
This cl was generated automatically, by taking all the NewApi issues
from the reference baselines, and all the non-NewApi issues from the
existing checked in baselines.
Bug: 268261262
Test: Presubmits
Change-Id: I5569b05fea2e93e7e4a7f0e67d6c1186d64f633f
diff --git a/lint-baseline.xml b/lint-baseline.xml
index 43e81f8..bd06eb8 100644
--- a/lint-baseline.xml
+++ b/lint-baseline.xml
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.1.0" client="cli" variant="all" version="4.1.0">
+<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="`android:Widget.Material.Button.Colored` requires API level 23 (current min is 14)"
- errorLine1=" <style name="SucPartnerCustomizationButton.Primary" parent="android:Widget.Material.Button.Colored">"
+ message="`android:Widget.Material.Button.Colored` requires API level 23 (current min is 19)"
+ errorLine1=' <style name="SucPartnerCustomizationButton.Primary" parent="android:Widget.Material.Button.Colored">'
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="external/setupcompat/main/res/values/styles.xml"
@@ -14,30 +14,8 @@
<issue
id="NewApi"
- message="`android:fontFamily` requires API level 16 (current min is 14)"
- errorLine1=" <item name="android:fontFamily">?attr/sucFooterBarButtonFontFamily</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=" <item name="android:stateListAnimator">@null</item>"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="external/setupcompat/main/res/values/styles.xml"
- line="54"
- column="15"/>
- </issue>
-
- <issue
- id="NewApi"
- message="`android:Widget.Material.Button.Borderless.Colored` requires API level 21 (current min is 14)"
- errorLine1=" <style name="SucPartnerCustomizationButton.Secondary" parent="android:Widget.Material.Button.Borderless.Colored">"
+ message="`android:Widget.Material.Button.Borderless.Colored` requires API level 21 (current min is 19)"
+ errorLine1=' <style name="SucPartnerCustomizationButton.Secondary" parent="android:Widget.Material.Button.Borderless.Colored">'
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="external/setupcompat/main/res/values/styles.xml"
@@ -45,15 +23,4 @@
column="59"/>
</issue>
- <issue
- id="NewApi"
- message="`android:fontFamily` requires API level 16 (current min is 14)"
- errorLine1=" <item name="android:fontFamily">?attr/sucFooterBarButtonFontFamily</item>"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="external/setupcompat/main/res/values/styles.xml"
- line="68"
- column="15"/>
- </issue>
-
-</issues>
+</issues>
\ No newline at end of file