diff options
author | 2020-07-23 17:32:15 -0700 | |
---|---|---|
committer | 2020-09-22 16:01:56 -0700 | |
commit | 4f378d75aa2dd590998fdb943e54745f39453621 (patch) | |
tree | 435516dbef4b9463760116fd5abdef0ea6a9dbd1 /java/droiddoc.go | |
parent | 0b176c8038d3ec29d3e9cc1b79b5e90599848fcc (diff) |
Convert more versions in config to ApiLevel.
The test case I removed is invalid. The codename has had its int
assigned, but the config claims it is not final.
If this ever does need to be supported it's just a matter of making
sure the Q -> 29 mapping (or whatever) in the finalized codenames map
in android/api_levels.go.
Test: treehugger
Bug: http://b/154667674
Change-Id: I4f42ec2fd4a37750519ee3937938a1c65b6bb1e8
Diffstat (limited to 'java/droiddoc.go')
-rw-r--r-- | java/droiddoc.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/droiddoc.go b/java/droiddoc.go index 85a61dd98..55bc04173 100644 --- a/java/droiddoc.go +++ b/java/droiddoc.go @@ -1228,7 +1228,7 @@ func (d *Droidstubs) apiLevelsAnnotationsFlags(ctx android.ModuleContext, cmd *a cmd.FlagWithOutput("--generate-api-levels ", d.apiVersionsXml) cmd.FlagWithInput("--apply-api-levels ", d.apiVersionsXml) - cmd.FlagWithArg("--current-version ", ctx.Config().PlatformSdkVersion()) + cmd.FlagWithArg("--current-version ", ctx.Config().PlatformSdkVersion().String()) cmd.FlagWithArg("--current-codename ", ctx.Config().PlatformSdkCodename()) filename := proptools.StringDefault(d.properties.Api_levels_jar_filename, "android.jar") |