From 8f16b39776450f2492413743d3eaabb142487aae Mon Sep 17 00:00:00 2001 From: Pedro Loureiro Date: Thu, 25 Feb 2021 15:31:51 +0000 Subject: [PATCH] Add lint baseline to address NewApi errors We are enabling a new lint check where the min sdk != compile sdk. It has produced a lot of errors and adding the baseline file(s) allows us to continue work without introducing more problems. This is a partial cherry-pick of change merged downstream. Bug: 150847901 Test: m lint-check Merged-In: I3c2563d4ae4e3715d0c6270344ba8f7ef067872f Change-Id: I214d60e858b7c03885d4d1c9a083e67a9340b4fe --- framework/lint-baseline.xml | 48 +++++++++++++++++++++++++++++++++++++ service/lint-baseline.xml | 37 ++++++++++++++++++++++++++++ 2 files changed, 85 insertions(+) create mode 100644 framework/lint-baseline.xml create mode 100644 service/lint-baseline.xml diff --git a/framework/lint-baseline.xml b/framework/lint-baseline.xml new file mode 100644 index 0000000000..df37ae8514 --- /dev/null +++ b/framework/lint-baseline.xml @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/service/lint-baseline.xml b/service/lint-baseline.xml new file mode 100644 index 0000000000..d606fb8d40 --- /dev/null +++ b/service/lint-baseline.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + +