touch: fix Exoplayer EventListener

This commit is contained in:
Felix 2018-12-10 23:14:40 +01:00
parent cbece74c53
commit d97885e65a

View file

@ -24,7 +24,7 @@ class PlayerEventListener implements Player.EventListener, SimpleExoPlayer.Video
}
@Override
public void onTimelineChanged(Timeline timeline, Object manifest, int reason) {
public void onTimelineChanged(Timeline timeline, Object manifest) {
}
@ -67,11 +67,6 @@ class PlayerEventListener implements Player.EventListener, SimpleExoPlayer.Video
}
@Override
public void onShuffleModeEnabledChanged(boolean shuffleModeEnabled) {
}
@Override
public void onPlayerError(ExoPlaybackException error) {
String errorMessage = error.getCause().getMessage();
@ -80,7 +75,7 @@ class PlayerEventListener implements Player.EventListener, SimpleExoPlayer.Video
}
@Override
public void onPositionDiscontinuity(int reason) {
public void onPositionDiscontinuity() {
}
@ -89,11 +84,6 @@ class PlayerEventListener implements Player.EventListener, SimpleExoPlayer.Video
}
@Override
public void onSeekProcessed() {
}
@Override
public void onVideoSizeChanged(int width, int height, int unappliedRotationDegrees, float pixelWidthHeightRatio) {