diff options
| author | 2020-08-28 04:26:49 +0000 | |
|---|---|---|
| committer | 2020-08-28 04:26:49 +0000 | |
| commit | 10a3873a80a43b7afcf3d4bef5457dbd05dfc38c (patch) | |
| tree | a0299d155b0f11ee77663dd20743f357c07e9b99 /android/config.go | |
| parent | b0e99edab15d059859b4d987c22fb6e500529476 (diff) | |
| parent | 219141c6bbd234501555e20e8e22f310199bf54c (diff) | |
Merge "Introduce BOARD_CURRENT_API_LEVEL_FOR_VENDOR_MODULES"
Diffstat (limited to 'android/config.go')
| -rw-r--r-- | android/config.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/android/config.go b/android/config.go index 13e55bc19..dd622e5b2 100644 --- a/android/config.go +++ b/android/config.go @@ -35,6 +35,7 @@ import ( var Bool = proptools.Bool var String = proptools.String +var StringDefault = proptools.StringDefault const FutureApiLevel = 10000 @@ -958,6 +959,10 @@ func (c *deviceConfig) VndkVersion() string { return String(c.config.productVariables.DeviceVndkVersion) } +func (c *deviceConfig) CurrentApiLevelForVendorModules() string { + return StringDefault(c.config.productVariables.DeviceCurrentApiLevelForVendorModules, "current") +} + func (c *deviceConfig) PlatformVndkVersion() string { return String(c.config.productVariables.Platform_vndk_version) } |