diff options
| author | 2018-05-09 11:11:35 -0700 | |
|---|---|---|
| committer | 2018-05-09 12:26:06 -0700 | |
| commit | b691e24d899f3a773da88df0eecada5918a96a2c (patch) | |
| tree | 8a32de60dddfd53f8dccf9fc2f32714e6e7c7ec3 /android/variable.go | |
| parent | 8fe13b971fe3ceff9e1fcbb9089e417dbeb17366 (diff) | |
Pass platform version name as --version-name for framework-res.apk
framework-res.apk should get the platform version name ("9") as
--version-name, not the SDK version ("28"). It will get copied
to compileSdkVersionCodename in APKs compiled against it.
Bug: 78324052
Test: aapt dump badging $OUT/system/framework/framework-res.apk | grep -i version
Change-Id: I34a601cb2c14f66199066e7d598862108da0b950
Diffstat (limited to 'android/variable.go')
| -rw-r--r-- | android/variable.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/android/variable.go b/android/variable.go index 9d9830ea9..f4aaec7a9 100644 --- a/android/variable.go +++ b/android/variable.go @@ -127,6 +127,7 @@ type productVariables struct { BuildNumberFromFile *string `json:",omitempty"` DateFromFile *string `json:",omitempty"` + Platform_version_name *string `json:",omitempty"` Platform_sdk_version *int `json:",omitempty"` Platform_sdk_codename *string `json:",omitempty"` Platform_sdk_final *bool `json:",omitempty"` |