Make ExoPlayer.Builder#build return SimpleExoPlayer
In a future change it will be updated to return ExoPlayer We no longer need separate methods to build Player and ExoPlayer, so buildExoPlayer will be removed shortly. PiperOrigin-RevId: 401441016
This commit is contained in:
parent
ee71c8387c
commit
f440aed4e9
@ -838,12 +838,12 @@ public interface ExoPlayer extends Player {
|
||||
}
|
||||
|
||||
/**
|
||||
* Builds a {@link Player} instance.
|
||||
* Builds a {@link SimpleExoPlayer} instance.
|
||||
*
|
||||
* @throws IllegalStateException If this method or {@link #buildExoPlayer()} has already been
|
||||
* called.
|
||||
*/
|
||||
public Player build() {
|
||||
public SimpleExoPlayer build() {
|
||||
return buildExoPlayer();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user