summaryrefslogtreecommitdiff
path: root/android/api_levels.go
diff options
context:
space:
mode:
authorJooyung Han <jooyung@google.com>2020-04-08 09:22:26 +0900
committerJooyung Han <jooyung@google.com>2020-04-08 09:25:20 +0900
commit424175d72a497aed8c2d83cdcb00131ff639c043 (patch)
treea931aa2e07699157dffda479609aab0f18bcbd06 /android/api_levels.go
parentee42b2079d2210fa66636da5672ff3864036b61c (diff)
Remove PLATFORM_VERSION_FUTURE_CODENAMES
It has been wrong to split ALL_VERSIONS into exclusive two sets of before/after TARGET_PLATFORM_VERSION. And PLATFORM_VERSION_ALL_CODENAMES supports all *active* list of non-finalized codenames. Bug: 152960049 Test: m Change-Id: I78ca88758998e440bea72ba2d56d90eea3ec99ae
Diffstat (limited to 'android/api_levels.go')
-rw-r--r--android/api_levels.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/api_levels.go b/android/api_levels.go
index 62a5fce32..b6296d815 100644
--- a/android/api_levels.go
+++ b/android/api_levels.go
@@ -74,7 +74,7 @@ func getApiLevelsMap(config Config) map[string]int {
"P": 28,
"Q": 29,
}
- for i, codename := range config.PlatformVersionCombinedCodenames() {
+ for i, codename := range config.PlatformVersionActiveCodenames() {
apiLevelsMap[codename] = baseApiLevel + i
}