summaryrefslogtreecommitdiff
path: root/android/api_levels.go
diff options
context:
space:
mode:
author Spandan Das <spandandas@google.com> 2024-02-12 15:00:15 +0000
committer Spandan Das <spandandas@google.com> 2024-02-13 02:33:12 +0000
commit38c64f62cf1fb6afb02c2cdfe99cc1956977bf08 (patch)
tree93427fd7574826e53067752f6a1b3500deb87f9a /android/api_levels.go
parent1c9213d89fe10be0acf82346eeb3431388d5c7fe (diff)
Restrict verify_overlaps to pre S modules
The runtime in S and above does not have the same constraints that require the hiddenapi flags to be generated in a monolithic manner. This CL restricts the verify_overlaps to pre S modules. This will filter out hiddenapi signature discrepancies that do not require any action. Test: verify_overlaps diff with this change https://diff.googleplex.com/#key=xxB0ky93hZRn Test: presubmits Bug: 313672880 Change-Id: Ie626a6779fc924563bec90b6c1ab0c7e8b4b23c2
Diffstat (limited to 'android/api_levels.go')
-rw-r--r--android/api_levels.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/android/api_levels.go b/android/api_levels.go
index c019f99ab..6fa4a0e41 100644
--- a/android/api_levels.go
+++ b/android/api_levels.go
@@ -288,6 +288,8 @@ var FirstPackedRelocationsVersion = uncheckedFinalApiLevel(23)
// a core-for-system-modules.jar for the module-lib API scope.
var LastWithoutModuleLibCoreSystemModules = uncheckedFinalApiLevel(31)
+var ApiLevelR = uncheckedFinalApiLevel(30)
+
// ReplaceFinalizedCodenames returns the API level number associated with that API level
// if the `raw` input is the codename of an API level has been finalized.
// If the input is *not* a finalized codename, the input is returned unmodified.