ANDROID: Adapt versionCode to fat bundles

The 0 value for arch will mean fat bundle.
It can also mean unspecified. That is all builds where we do not modify
the value according to the architecture (for example buildbot APKs).

Anyway, don't apply the version change now to avoid version downgrade for
buildbot users.
This commit is contained in:
Le Philousophe 2024-10-27 12:59:50 +01:00
parent 7ad5218e5a
commit 195a80873f

View File

@ -54,10 +54,13 @@ android {
// (p is patch/bugfix release number)
// (b is build number, eg. re-release or beta testing was done on Play Store)
// (a is a number indicating the target architecture (ABI)):
// (1: arm-v7a, 2: arm64-v8a, 3: x86, 4: x86_64)
// eg. ScummVM 2.9.0 builds would have version codes: 2090001 - 2090004
// (0: unspecified/fat, 1: arm-v7a, 2: arm64-v8a, 3: x86, 4: x86_64)
// eg. ScummVM 2.10.0 builds would have version codes: 2100000 - 2100004
// --------------
// ScummVM 2.8.0: 113 - 116 (arm-v7a, arm64-v8a, x86, x86_64 respectively)
// ScummVM 2.9.0: 2090001 - 2090004 (arm-v7a, arm64-v8a, x86, x86_64 respectively)
// ScummVM 2.8.1.1: 2081011 - 2081014 (arm-v7a, arm64-v8a, x86, x86_64 respectively) (release on Play Store)
// ScummVM 2.8.1: 2081001 - 2081004 (arm-v7a, arm64-v8a, x86, x86_64 respectively) (rejected on Play Store)
// ScummVM 2.8.0: 113 - 116 (arm-v7a, arm64-v8a, x86, x86_64 respectively) (release on Play Store)
// ScummVM 2.7.1: 109 - 112 (arm-v7a, arm64-v8a, x86, x86_64 respectively) (release on Play Store)
// Historical version codes:
// ScummVM 2.7.0.5: 105 - 108 (arm-v7a, arm64-v8a, x86, x86_64 respectively) (proper release on Play Store)