From 195a80873fc0faee296ea09b2e1107bed129ce5c Mon Sep 17 00:00:00 2001 From: Le Philousophe Date: Sun, 27 Oct 2024 12:59:50 +0100 Subject: [PATCH] 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. --- dists/android/build.gradle | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/dists/android/build.gradle b/dists/android/build.gradle index 5f24b6ba5b7..25eb4af78fc 100644 --- a/dists/android/build.gradle +++ b/dists/android/build.gradle @@ -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)