Make SimpleBasePlayer.State public

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

Issue: androidx/media#2128

#cherrypick

PiperOrigin-RevId: 728264396
This commit is contained in:
tonihei 2025-02-18 10:26:36 -08:00 committed by Copybara-Service
parent 4b991ad42f
commit f1c62c1239
2 changed files with 4 additions and 1 deletions

View File

@ -3,6 +3,9 @@
### 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:

View File

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