mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue