diff --git a/app/build.gradle b/app/build.gradle index 6f4c2ef7..b52347a9 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -66,7 +66,7 @@ dependencies { implementation 'com.flurry.android:analytics:6.9.2' implementation 'com.google.guava:guava:24.0-android' implementation 'com.google.code.findbugs:jsr305:3.0.1' - implementation 'com.google.android.exoplayer:exoplayer-core:2.9.1' + implementation 'com.google.android.exoplayer:exoplayer-core:2.7.3' implementation 'com.google.dagger:dagger:2.15' annotationProcessor 'com.google.dagger:dagger-compiler:2.15' diff --git a/app/src/main/java/com/studio4plus/homerplayer/player/Player.java b/app/src/main/java/com/studio4plus/homerplayer/player/Player.java index 5c14ec78..a829fecc 100644 --- a/app/src/main/java/com/studio4plus/homerplayer/player/Player.java +++ b/app/src/main/java/com/studio4plus/homerplayer/player/Player.java @@ -80,7 +80,8 @@ private ExtractorMediaSource.Factory getExtractorMediaSourceFactory() { } private class PlaybackControllerImpl - implements com.google.android.exoplayer2.Player.EventListener, PlaybackController { + extends com.google.android.exoplayer2.Player.DefaultEventListener + implements PlaybackController { private File currentFile; private Observer observer; @@ -202,7 +203,8 @@ private String getFormatDescription() { } private class DurationQueryControllerImpl - implements com.google.android.exoplayer2.Player.EventListener, DurationQueryController { + extends com.google.android.exoplayer2.Player.DefaultEventListener + implements DurationQueryController { private final Iterator iterator; private File currentFile;