Make StubExoPlayer not abstract

All Player methods should throw
NotSupportedException.
Making it abstract prevents the compiler catching
non implemented methods.

PiperOrigin-RevId: 364974387
This commit is contained in:
krocard 2021-03-25 06:51:25 +00:00 committed by Oliver Woodman
parent 3ebf94cd45
commit 774cce4df3

View File

@ -39,7 +39,7 @@ import java.util.List;
* An abstract {@link ExoPlayer} implementation that throws {@link UnsupportedOperationException} * An abstract {@link ExoPlayer} implementation that throws {@link UnsupportedOperationException}
* from every method. * from every method.
*/ */
public abstract class StubExoPlayer extends BasePlayer implements ExoPlayer { public class StubExoPlayer extends BasePlayer implements ExoPlayer {
@Override @Override
public AudioComponent getAudioComponent() { public AudioComponent getAudioComponent() {