mirror of
https://github.com/samsonjs/media.git
synced 2026-03-25 09:25:53 +00:00
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
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Reference in a new issue