summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Cole Faust <colefaust@google.com> 2024-01-10 12:30:38 -0800
committer Cole Faust <colefaust@google.com> 2024-01-10 12:30:38 -0800
commit8e93251ab0b1ac78acf3ea5ea0892ad59d3d4156 (patch)
tree5e42aed6d67b72f50d36ae90f7cd045d0b64a457
parent806bb92983552aaab61a79d263506d2e0f23b480 (diff)
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: I021e1b9e8f6d1f73748721d6dffced30902cfcd7
-rw-r--r--Android.bp7
-rw-r--r--lint-baseline.xml2
2 files changed, 5 insertions, 4 deletions
diff --git a/Android.bp b/Android.bp
index 7a8181da6..563c7e9c0 100644
--- a/Android.bp
+++ b/Android.bp
@@ -85,7 +85,7 @@ java_library {
],
lint: {
strict_updatability_linting: true,
- baseline_filename: "lint-baseline.xml",
+
},
}
@@ -120,7 +120,7 @@ android_library {
min_sdk_version: "29",
lint: {
strict_updatability_linting: true,
- baseline_filename: "lint-baseline.xml",
+
},
}
@@ -153,7 +153,7 @@ android_library {
min_sdk_version: "29",
lint: {
strict_updatability_linting: true,
- baseline_filename: "lint-baseline.xml",
+
},
}
@@ -184,5 +184,6 @@ android_app {
lint: {
strict_updatability_linting: true,
baseline_filename: "lint-baseline.xml",
+
},
}
diff --git a/lint-baseline.xml b/lint-baseline.xml
index c7db33135..a89103e53 100644
--- a/lint-baseline.xml
+++ b/lint-baseline.xml
@@ -1,5 +1,5 @@
<?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">
+<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"