FlaggedApi: enable enforcement for all non-updatable APIs
(cherry pick of 7da1d25541124cf0c6ced6eb0af738fb9263b77a
and 38dd161e4f88b43e7d251f8888714d79c2557b7f)
Bug: 297362755
Test: make checkapi
Merged-In: If7333ead86d9028ab0a1cc8f25fc534cb13a1858
Merged-In: I4d384efac8a8d3b183d9b207b195ad5489db9e55
Change-Id: I4d384efac8a8d3b183d9b207b195ad5489db9e55
diff --git a/api/StubLibraries.bp b/api/StubLibraries.bp
index ada4b1a..4f2a182 100644
--- a/api/StubLibraries.bp
+++ b/api/StubLibraries.bp
@@ -50,6 +50,7 @@
api_lint: {
enabled: true,
new_since: ":android.api.public.latest",
+ baseline_file: ":non-updatable-lint-baseline.txt",
},
},
dists: [
@@ -143,6 +144,7 @@
},
api_lint: {
enabled: true,
+ new_since: ":android.api.test.latest",
baseline_file: ":non-updatable-test-lint-baseline.txt",
},
},