Version bump to media3:1.4.0-alpha01

PiperOrigin-RevId: 623185060
(cherry picked from commit 2622e566d3da2e77ca9ec5a6efcacb09149ada6b)
This commit is contained in:
michaelkatz 2024-04-09 09:06:08 -07:00 committed by microkatz
parent 947e6de744
commit ae14bc19ea
3 changed files with 8 additions and 43 deletions

View File

@ -1,40 +1,5 @@
# Release notes # Release notes
### Unreleased changes
* Common Library:
* ExoPlayer:
* Add `reset` to `BasePreloadManager` to release all the holding sources
while keep the preload manager instance.
* Transformer:
* Track Selection:
* Extractors:
* Audio:
* Video:
* Text:
* Metadata:
* Image:
* DRM:
* Effect:
* Muxers:
* IMA extension:
* Session:
* UI:
* Downloads:
* OkHttp Extension:
* Cronet Extension:
* RTMP Extension:
* HLS Extension:
* DASH Extension:
* Smooth Streaming Extension:
* RTSP Extension:
* Decoder Extensions (FFmpeg, VP9, AV1, MIDI, etc.):
* Leanback extension:
* Cast Extension:
* Test Utilities:
* Remove deprecated symbols:
* Demo app:
## 1.4 ## 1.4
### 1.4.0-alpha01 (2024-04-11) ### 1.4.0-alpha01 (2024-04-11)
@ -93,7 +58,7 @@ This release includes the following changes since the
* Update Overlay matrix implementation to make it consistent with the * Update Overlay matrix implementation to make it consistent with the
documentation by flipping the x and y values applied in documentation by flipping the x and y values applied in
`setOverlayFrameAnchor()`. If using `setOverlayFrameAnchor()`. If using
`OverlaySettings.Builder.setOverlayFrameAnchor()`, please flip their x `OverlaySettings.Builder.setOverlayFrameAnchor()`, flip their x
and y values by multiplying them by `-1`. and y values by multiplying them by `-1`.
* Session: * Session:
* Change default of `CommandButton.enabled` to `true` and ensure the value * Change default of `CommandButton.enabled` to `true` and ensure the value
@ -106,7 +71,7 @@ This release includes the following changes since the
([#1219](https://github.com/androidx/media/issues/1219)). ([#1219](https://github.com/androidx/media/issues/1219)).
* Add `MediaSessionService.pauseAllPlayersAndStopSelf()` that conveniently * Add `MediaSessionService.pauseAllPlayersAndStopSelf()` that conveniently
allows to pause playback of all sessions and call `stopSelf` to allows to pause playback of all sessions and call `stopSelf` to
terminate the lifecyce of the `MediaSessionService`. terminate the lifecycle of the `MediaSessionService`.
* Override `MediaSessionService.onTaskRemoved(Intent)` to provide a safe * Override `MediaSessionService.onTaskRemoved(Intent)` to provide a safe
default implementation that keeps the service running in the foreground default implementation that keeps the service running in the foreground
if playback is ongoing or stops the service otherwise. if playback is ongoing or stops the service otherwise.
@ -118,7 +83,7 @@ This release includes the following changes since the
* Test Utilities: * Test Utilities:
* Implement `onInit()` and `onRelease()` in `FakeRenderer`. * Implement `onInit()` and `onRelease()` in `FakeRenderer`.
* Change `TestPlayerRunHelper.runUntil/playUntil` methods to fail on * Change `TestPlayerRunHelper.runUntil/playUntil` methods to fail on
non-fatal errors (e.g. those reported to nonfatal errors (e.g. those reported to
`AnalyticsListener.onVideoCodecError`). Use the new `AnalyticsListener.onVideoCodecError`). Use the new
`TestPlayerRunHelper.run(player).ignoringNonFatalErrors().untilXXX()` `TestPlayerRunHelper.run(player).ignoringNonFatalErrors().untilXXX()`
method chain to disable this behavior. method chain to disable this behavior.

View File

@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
project.ext { project.ext {
releaseVersion = '1.3.1' releaseVersion = '1.4.0-alpha01'
releaseVersionCode = 1_003_001_3_00 releaseVersionCode = 1_004_000_0_01
minSdkVersion = 19 minSdkVersion = 19
// See https://developer.android.com/training/cars/media/automotive-os#automotive-module // See https://developer.android.com/training/cars/media/automotive-os#automotive-module
automotiveMinSdkVersion = 28 automotiveMinSdkVersion = 28

View File

@ -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". */ /** 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. // Intentionally hardcoded. Do not derive from other constants (e.g. VERSION_INT) or vice versa.
public static final String VERSION = "1.3.1"; public static final String VERSION = "1.4.0-alpha01";
/** The version of the library expressed as {@code TAG + "/" + VERSION}. */ /** The version of the library expressed as {@code TAG + "/" + VERSION}. */
// Intentionally hardcoded. Do not derive from other constants (e.g. VERSION) or vice versa. // Intentionally hardcoded. Do not derive from other constants (e.g. VERSION) or vice versa.
public static final String VERSION_SLASHY = "AndroidXMedia3/1.3.1"; public static final String VERSION_SLASHY = "AndroidXMedia3/1.4.0-alpha01";
/** /**
* The version of the library expressed as an integer, for example 1002003300. * 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). * (123-045-006-3-00).
*/ */
// Intentionally hardcoded. Do not derive from other constants (e.g. VERSION) or vice versa. // Intentionally hardcoded. Do not derive from other constants (e.g. VERSION) or vice versa.
public static final int VERSION_INT = 1_003_001_3_00; public static final int VERSION_INT = 1_004_000_0_01;
/** Whether the library was compiled with {@link Assertions} checks enabled. */ /** Whether the library was compiled with {@link Assertions} checks enabled. */
public static final boolean ASSERTIONS_ENABLED = true; public static final boolean ASSERTIONS_ENABLED = true;