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) {