From 194043ae4ea2f8e982a5aef2eca90c9cf01018e3 Mon Sep 17 00:00:00 2001 From: ibaker Date: Tue, 28 Jun 2022 09:30:11 +0000 Subject: [PATCH] Fix release notes related to track selection renames and deletions Issue: google/ExoPlayer#10363 PiperOrigin-RevId: 457679928 --- RELEASENOTES.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index b56338615c2..57e120be869 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -37,7 +37,9 @@ This release corresponds to the * Rename `TracksInfo` to `Tracks` and `TracksInfo.TrackGroupInfo` to `Tracks.Group`. `Player.getCurrentTracksInfo` and `Player.Listener.onTracksInfoChanged` have also been renamed to - `Player.getCurrentTracks` and `Player.Listener.onTracksChanged`. + `Player.getCurrentTracks` and `Player.Listener.onTracksChanged`. This + includes 'un-deprecating' the `Player.Listener.onTracksChanged` method + name, but with different parameter types. * Change `DefaultTrackSelector.buildUponParameters` and `DefaultTrackSelector.Parameters.buildUpon` to return `DefaultTrackSelector.Parameters.Builder` instead of the deprecated @@ -172,10 +174,11 @@ This release corresponds to the AndroidStudio's gradle sync to fail ([#9933](https://github.com/google/ExoPlayer/issues/9933)). * Remove deprecated symbols: - * Remove `Player.Listener.onTracksChanged`. Use - `Player.Listener.onTracksInfoChanged` instead. + * Remove `Player.Listener.onTracksChanged(TrackGroupArray, + TrackSelectionArray)`. Use `Player.Listener.onTracksChanged(Tracks)` + instead. * Remove `Player.getCurrentTrackGroups` and - `Player.getCurrentTrackSelections`. Use `Player.getCurrentTracksInfo` + `Player.getCurrentTrackSelections`. Use `Player.getCurrentTracks` instead. You can also continue to use `ExoPlayer.getCurrentTrackGroups` and `ExoPlayer.getCurrentTrackSelections`, although these methods remain deprecated.