Make SimpleBasePlayer.State public

This ensures it's easier to handle these State updates in other
helper classes if needed.

Issue: androidx/media#2128

PiperOrigin-RevId: 728264396
(cherry picked from commit f1c62c12394e3c408b24d98ed2472ed88db3e918)
This commit is contained in:
tonihei 2025-02-18 10:26:36 -08:00 committed by oceanjules
parent 75da514b7f
commit d880ab5d4f
2 changed files with 40 additions and 1 deletions

View File

@ -1,5 +1,44 @@
# Release notes # Release notes
### Unreleased changes
* Common Library:
* Change `SimpleBasePlayer.State` access from protected to public to make
it easier to handle updates in other classes
([#2128](https://github.com/androidx/media/issues/2128)).
* ExoPlayer:
* Transformer:
* Track Selection:
* Extractors:
* DataSource:
* Audio:
* Video:
* Text:
* Metadata:
* Image:
* DataSource:
* 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, etc.):
* MIDI extension:
* Leanback extension:
* Cast Extension:
* Test Utilities:
* Demo app:
* Remove deprecated symbols:
## 1.6 ## 1.6
### 1.6.0-beta01 (2025-02-26) ### 1.6.0-beta01 (2025-02-26)

View File

@ -96,7 +96,7 @@ import org.checkerframework.checker.nullness.qual.RequiresNonNull;
public abstract class SimpleBasePlayer extends BasePlayer { public abstract class SimpleBasePlayer extends BasePlayer {
/** An immutable state description of the player. */ /** An immutable state description of the player. */
protected static final class State { public static final class State {
/** A builder for {@link State} objects. */ /** A builder for {@link State} objects. */
public static final class Builder { public static final class Builder {