mirror of
https://github.com/androidx/media.git
synced 2025-04-29 22:36:54 +08:00
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:
parent
4b991ad42f
commit
f1c62c1239
@ -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:
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user