Commit 98f5bdb6 by ibaker Committed by Rohit Singh

Fix release notes related to track selection renames and deletions

Issue: google/ExoPlayer#10363
PiperOrigin-RevId: 457679928
(cherry picked from commit 194043ae)
parent 0d83c446
Showing with 7 additions and 4 deletions
...@@ -37,7 +37,9 @@ This release corresponds to the ...@@ -37,7 +37,9 @@ This release corresponds to the
* Rename `TracksInfo` to `Tracks` and `TracksInfo.TrackGroupInfo` to * Rename `TracksInfo` to `Tracks` and `TracksInfo.TrackGroupInfo` to
`Tracks.Group`. `Player.getCurrentTracksInfo` and `Tracks.Group`. `Player.getCurrentTracksInfo` and
`Player.Listener.onTracksInfoChanged` have also been renamed to `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 * Change `DefaultTrackSelector.buildUponParameters` and
`DefaultTrackSelector.Parameters.buildUpon` to return `DefaultTrackSelector.Parameters.buildUpon` to return
`DefaultTrackSelector.Parameters.Builder` instead of the deprecated `DefaultTrackSelector.Parameters.Builder` instead of the deprecated
...@@ -172,10 +174,11 @@ This release corresponds to the ...@@ -172,10 +174,11 @@ This release corresponds to the
AndroidStudio's gradle sync to fail AndroidStudio's gradle sync to fail
([#9933](https://github.com/google/ExoPlayer/issues/9933)). ([#9933](https://github.com/google/ExoPlayer/issues/9933)).
* Remove deprecated symbols: * Remove deprecated symbols:
* Remove `Player.Listener.onTracksChanged`. Use * Remove `Player.Listener.onTracksChanged(TrackGroupArray,
`Player.Listener.onTracksInfoChanged` instead. TrackSelectionArray)`. Use `Player.Listener.onTracksChanged(Tracks)`
instead.
* Remove `Player.getCurrentTrackGroups` and * Remove `Player.getCurrentTrackGroups` and
`Player.getCurrentTrackSelections`. Use `Player.getCurrentTracksInfo` `Player.getCurrentTrackSelections`. Use `Player.getCurrentTracks`
instead. You can also continue to use `ExoPlayer.getCurrentTrackGroups` instead. You can also continue to use `ExoPlayer.getCurrentTrackGroups`
and `ExoPlayer.getCurrentTrackSelections`, although these methods remain and `ExoPlayer.getCurrentTrackSelections`, although these methods remain
deprecated. deprecated.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment