From 8e93251ab0b1ac78acf3ea5ea0892ad59d3d4156 Mon Sep 17 00:00:00 2001 From: Cole Faust Date: Wed, 10 Jan 2024 12:30:38 -0800 Subject: 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 --- Android.bp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Android.bp') 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", + }, } -- cgit v1.2.3-59-g8ed1b