Use raw versionCodes in web apk json.

We missed a spot when transitioning to split apk versions. It ended up
breaking the update prompt for web apks.

This will put the raw universal apk version in the json file, which
should put us back on the right track.

Fixes #8936
fork-5.53.8
Greyson Parrelli 2019-08-28 10:24:33 -04:00
rodzic 59bcbe592b
commit 1dd59bee36
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -469,7 +469,7 @@ def assembleWebsiteDescriptor = { variant, file ->
String apkName = file.getName()
String descriptor = "{" +
"\"versionCode\" : $canonicalVersionCode," +
"\"versionCode\" : ${canonicalVersionCode * postFixSize + abiPostFix['universal']}," +
"\"versionName\" : \"$canonicalVersionName\"," +
"\"sha256sum\" : \"$digest\"," +
"\"url\" : \"$url/$apkName\"" +