summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCole Faust <colefaust@google.com>2023-03-09 14:21:16 -0800
committerCole Faust <colefaust@google.com>2023-03-09 14:21:16 -0800
commite0245595bec4c53abb87399ab92f05697764d914 (patch)
tree4b5313a75578296230b6e419a43620fdf5e29360
parent7cb27d06467d4b6ba46ea563240200df8c45c86f (diff)
downloadsetupwizard-e0245595bec4c53abb87399ab92f05697764d914.tar.gz
Baseline NewApi issues
NewApi was recently updated to support linting methods in the system, module_lib, and system_server sdks, and was demoted to a warning due to the new issues it finds. Baseline all the new issues that NewApi can be made an error again. These cls were generated automatically by a script that copied the NewApi issues from the reference baselines. Bug: 268261262 Test: m lint-check Change-Id: I8d8f75ddf70070717ddf1e0680e4f469503f6e57
-rw-r--r--library/lint-baseline.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/library/lint-baseline.xml b/library/lint-baseline.xml
new file mode 100644
index 0000000..d6b6dd2
--- /dev/null
+++ b/library/lint-baseline.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<issues format="6" by="lint 8.0.0-dev" type="baseline" dependencies="true" variant="all" version="8.0.0-dev">
+
+ <issue
+ id="NewApi"
+ message="Call requires API level 25 (current min is 23): `android.view.View#setRevealOnFocusHint`">
+ <location
+ file="frameworks/opt/setupwizard/library/platform/src/com/android/setupwizardlib/view/RichTextView.java"
+ line="129"/>
+ </issue>
+
+ <issue
+ id="NewApi"
+ message="`&lt;vector&gt;` requires API level 21 (current min is 14) or building with Android Gradle plugin 1.4 or higher">
+ <location
+ file="frameworks/opt/setupwizard/library/gingerbread/res/drawable/suw_ic_expand_less.xml"
+ line="18"/>
+ </issue>
+
+ <issue
+ id="NewApi"
+ message="`&lt;vector&gt;` requires API level 21 (current min is 14) or building with Android Gradle plugin 1.4 or higher">
+ <location
+ file="frameworks/opt/setupwizard/library/gingerbread/res/drawable/suw_ic_expand_more.xml"
+ line="18"/>
+ </issue>
+
+</issues> \ No newline at end of file