Commit 774cce4d by krocard Committed by Oliver Woodman

Make StubExoPlayer not abstract

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

PiperOrigin-RevId: 364974387
parent 3ebf94cd
...@@ -39,7 +39,7 @@ import java.util.List; ...@@ -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() {
......
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