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:
parent
3ebf94cd45
commit
774cce4df3
@ -39,7 +39,7 @@ import java.util.List;
|
||||
* An abstract {@link ExoPlayer} implementation that throws {@link UnsupportedOperationException}
|
||||
* from every method.
|
||||
*/
|
||||
public abstract class StubExoPlayer extends BasePlayer implements ExoPlayer {
|
||||
public class StubExoPlayer extends BasePlayer implements ExoPlayer {
|
||||
|
||||
@Override
|
||||
public AudioComponent getAudioComponent() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user