Commit f440aed4 by ibaker Committed by bachinger

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
parent ee71c838
......@@ -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();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment