diff options
author | Pedro Loureiro <pedroql@google.com> | 2021-04-15 12:26:57 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-04-15 12:26:57 +0000 |
commit | ed0da29ec4366f3a0029ab1aa714f3c67eb8e063 (patch) | |
tree | caf062f74300c2371bdba95a402dd337d56ae72d | |
parent | b51a23f01e56bf0c65fd5bd263e987ba5f4a5d23 (diff) | |
parent | c0d3058b8c8eae26abdf5a379ec109581790421e (diff) | |
download | setupcompat-ed0da29ec4366f3a0029ab1aa714f3c67eb8e063.tar.gz |
Add lint baseline to address NewApi errors am: 71f3b1924f am: c0d3058b8c
Original change: https://android-review.googlesource.com/c/platform/external/setupcompat/+/1675512
Change-Id: I56f2a4a70343d9149120882b108a6a52dc14818f
-rw-r--r-- | lint-baseline.xml | 59 |
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=" <style name="SucPartnerCustomizationButton.Primary" parent="android:Widget.Material.Button.Colored">" + 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=" <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="52" + 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">" + 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=" <item name="android:fontFamily">?attr/sucFooterBarButtonFontFamily</item>" + errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> + <location + file="external/setupcompat/main/res/values/styles.xml" + line="66" + column="15"/> + </issue> + +</issues> |