mirror of
https://github.com/samsonjs/media.git
synced 2026-03-26 09:35:47 +00:00
Update ExoPlayer.Builder#build() to return ExoPlayer (instead of SEP)
Users who need a (deprecated) SimpleExoPlayer instance should use (the also deprecated) SimpleExoPlayer.Builder. PiperOrigin-RevId: 403108197
This commit is contained in:
parent
746ad2e6aa
commit
21cfd62cfd
1 changed files with 3 additions and 3 deletions
|
|
@ -352,7 +352,7 @@ public interface ExoPlayer extends Player {
|
|||
}
|
||||
|
||||
/**
|
||||
* A builder for {@link SimpleExoPlayer} instances.
|
||||
* A builder for {@link ExoPlayer} instances.
|
||||
*
|
||||
* <p>See {@link #Builder(Context)} for the list of default values.
|
||||
*/
|
||||
|
|
@ -818,11 +818,11 @@ public interface ExoPlayer extends Player {
|
|||
}
|
||||
|
||||
/**
|
||||
* Builds a {@link SimpleExoPlayer} instance.
|
||||
* Builds an {@link ExoPlayer} instance.
|
||||
*
|
||||
* @throws IllegalStateException If this method has already been called.
|
||||
*/
|
||||
public SimpleExoPlayer build() {
|
||||
public ExoPlayer build() {
|
||||
return wrappedBuilder.build();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue