From 4e6a643d883c535690233e291b2d72c19c2393b0 Mon Sep 17 00:00:00 2001 From: tianyifeng Date: Thu, 18 Jul 2024 09:40:27 -0700 Subject: [PATCH] Update media3 version for 1.4.0 stable release PiperOrigin-RevId: 653654999 (cherry picked from commit 3c9332bb480b23abc3bd61b96a5f5d6d29a3b11d) --- .github/ISSUE_TEMPLATE/bug.yml | 1 + constants.gradle | 4 ++-- .../main/java/androidx/media3/common/MediaLibraryInfo.java | 6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index 4ae97dd1837..ac3ff94086f 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -19,6 +19,7 @@ body: options: - Media3 main branch - Media3 pre-release (alpha, beta or RC not in this list) + - Media3 1.4.0 - Media3 1.3.1 - Media3 1.3.0 - Media3 1.2.1 diff --git a/constants.gradle b/constants.gradle index 2f94608125f..d00b78a5540 100644 --- a/constants.gradle +++ b/constants.gradle @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. project.ext { - releaseVersion = '1.4.0-rc01' - releaseVersionCode = 1_004_000_2_01 + releaseVersion = '1.4.0' + releaseVersionCode = 1_004_000_3_00 minSdkVersion = 19 // See https://developer.android.com/training/cars/media/automotive-os#automotive-module automotiveMinSdkVersion = 28 diff --git a/libraries/common/src/main/java/androidx/media3/common/MediaLibraryInfo.java b/libraries/common/src/main/java/androidx/media3/common/MediaLibraryInfo.java index 4054220fcbc..cee717d0d3b 100644 --- a/libraries/common/src/main/java/androidx/media3/common/MediaLibraryInfo.java +++ b/libraries/common/src/main/java/androidx/media3/common/MediaLibraryInfo.java @@ -29,11 +29,11 @@ public final class MediaLibraryInfo { /** The version of the library expressed as a string, for example "1.2.3" or "1.2.0-beta01". */ // Intentionally hardcoded. Do not derive from other constants (e.g. VERSION_INT) or vice versa. - public static final String VERSION = "1.4.0-rc01"; + public static final String VERSION = "1.4.0"; /** The version of the library expressed as {@code TAG + "/" + VERSION}. */ // Intentionally hardcoded. Do not derive from other constants (e.g. VERSION) or vice versa. - public static final String VERSION_SLASHY = "AndroidXMedia3/1.4.0-rc01"; + public static final String VERSION_SLASHY = "AndroidXMedia3/1.4.0"; /** * The version of the library expressed as an integer, for example 1002003300. @@ -47,7 +47,7 @@ public final class MediaLibraryInfo { * (123-045-006-3-00). */ // Intentionally hardcoded. Do not derive from other constants (e.g. VERSION) or vice versa. - public static final int VERSION_INT = 1_004_000_2_01; + public static final int VERSION_INT = 1_004_000_3_00; /** Whether the library was compiled with {@link Assertions} checks enabled. */ public static final boolean ASSERTIONS_ENABLED = true;