From 796e41b09b540447b811f38e36065583e0fd3f95 Mon Sep 17 00:00:00 2001 From: Colin Kinloch Date: Fri, 1 May 2020 13:21:25 +0100 Subject: [PATCH] Update Exoplayer to r2.3.1 --- build.gradle | 2 +- .../mariotaku/twidere/fragment/media/ExoPlayerPageFragment.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index b26989083..60cbc63ba 100644 --- a/build.gradle +++ b/build.gradle @@ -53,7 +53,7 @@ subprojects { MapsUtils : '0.6.2', DropboxCoreSdk : '3.1.3', GoogleDriveApi : 'v3-rev193-1.25.0', - Exoplayer : 'r2.2.0', + Exoplayer : 'r2.3.1', Toro : '2.1.0', LoganSquare : '1.3.7', IABv3 : '1.1.0', diff --git a/twidere/src/main/kotlin/org/mariotaku/twidere/fragment/media/ExoPlayerPageFragment.kt b/twidere/src/main/kotlin/org/mariotaku/twidere/fragment/media/ExoPlayerPageFragment.kt index 52f09896e..6106a4f47 100644 --- a/twidere/src/main/kotlin/org/mariotaku/twidere/fragment/media/ExoPlayerPageFragment.kt +++ b/twidere/src/main/kotlin/org/mariotaku/twidere/fragment/media/ExoPlayerPageFragment.kt @@ -37,7 +37,7 @@ import com.google.android.exoplayer2.extractor.ExtractorsFactory import com.google.android.exoplayer2.source.ExtractorMediaSource import com.google.android.exoplayer2.source.LoopingMediaSource import com.google.android.exoplayer2.source.TrackGroupArray -import com.google.android.exoplayer2.trackselection.AdaptiveVideoTrackSelection +import com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection import com.google.android.exoplayer2.trackselection.DefaultTrackSelector import com.google.android.exoplayer2.trackselection.TrackSelectionArray import com.google.android.exoplayer2.upstream.DataSource @@ -317,7 +317,7 @@ class ExoPlayerPageFragment : MediaViewerFragment(), IBaseFragment= 0) {