From 98bf30d2afd4fe83c9de5131353c6fb7af94e499 Mon Sep 17 00:00:00 2001 From: christosts Date: Tue, 14 Feb 2023 13:49:22 +0000 Subject: [PATCH] Version bump for ExoPlayer 2.18.3 & media3-1.0.0-rc01 #minor-release PiperOrigin-RevId: 509501665 (cherry picked from commit 20eae0e041e1922fd79ca36218054b293a9da7da) --- .github/ISSUE_TEMPLATE/bug.yml | 1 + README.md | 12 +++++------- constants.gradle | 4 ++-- .../androidx/media3/common/MediaLibraryInfo.java | 6 +++--- 4 files changed, 11 insertions(+), 12 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index 38ed1ba728c..005d4e2e68f 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -17,6 +17,7 @@ body: label: Media3 Version description: What version of Media3 are you using? options: + - 1.0.0-rc01 - 1.0.0-beta03 - 1.0.0-beta02 - 1.0.0-beta01 diff --git a/README.md b/README.md index 9f50f679baf..d0b375b92da 100644 --- a/README.md +++ b/README.md @@ -5,15 +5,13 @@ Android, including local playback (via ExoPlayer) and media sessions. ## Current status -AndroidX Media is currently in beta and we welcome your feedback via the -[issue tracker][]. Please consult the [release notes][] for more details about -the beta release. +AndroidX Media is currently in release candidate and we welcome your feedback +via the [issue tracker][]. Please consult the [release notes][] for more details +about the current release. ExoPlayer's new home will be in AndroidX Media, but for now we are publishing it -both in AndroidX Media and via the existing [ExoPlayer project][]. While -AndroidX Media is in beta we recommend that production apps using ExoPlayer -continue to depend on the existing ExoPlayer project. We are still handling -ExoPlayer issues on the [ExoPlayer issue tracker][]. +both in AndroidX Media and via the existing [ExoPlayer project][] and we are +still handling ExoPlayer issues on the [ExoPlayer issue tracker][]. You'll find some [Media3 documentation on developer.android.com][], including a [migration guide for existing ExoPlayer and MediaSession users][]. diff --git a/constants.gradle b/constants.gradle index ac9b80f1d6c..39884d57c73 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.0.0-beta03' - releaseVersionCode = 1_000_000_1_03 + releaseVersion = '1.0.0-rc01' + releaseVersionCode = 1_000_000_2_01 minSdkVersion = 16 appTargetSdkVersion = 33 // API version before restricting local file access. 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 603392d3696..ad013f4cd3c 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.3-beta01". */ // Intentionally hardcoded. Do not derive from other constants (e.g. VERSION_INT) or vice versa. - public static final String VERSION = "1.0.0-beta03"; + public static final String VERSION = "1.0.0-rc01"; /** 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.0.0-beta03"; + public static final String VERSION_SLASHY = "AndroidXMedia3/1.0.0-rc01"; /** * 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_000_000_1_03; + public static final int VERSION_INT = 1_000_000_2_01; /** Whether the library was compiled with {@link Assertions} checks enabled. */ public static final boolean ASSERTIONS_ENABLED = true;