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
@ -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…
x
Reference in New Issue
Block a user