From 9540af298e84ccec0643342b2989787fd828b2d5 Mon Sep 17 00:00:00 2001 From: Colin Kinloch Date: Fri, 1 May 2020 16:28:27 +0100 Subject: [PATCH] Update Exoplayer to 2.9.6 --- build.gradle | 2 +- .../org/mariotaku/twidere/util/dagger/ApplicationModule.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 02418d200..def8a47ad 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 : '2.7.3', + Exoplayer : '2.9.6', Toro : '2.1.0', LoganSquare : '1.3.7', IABv3 : '1.1.0', diff --git a/twidere/src/main/kotlin/org/mariotaku/twidere/util/dagger/ApplicationModule.kt b/twidere/src/main/kotlin/org/mariotaku/twidere/util/dagger/ApplicationModule.kt index 070681bb5..8ff9d59d9 100644 --- a/twidere/src/main/kotlin/org/mariotaku/twidere/util/dagger/ApplicationModule.kt +++ b/twidere/src/main/kotlin/org/mariotaku/twidere/util/dagger/ApplicationModule.kt @@ -301,7 +301,7 @@ class ApplicationModule(private val context: Context) { val builder = OkHttpClient.Builder() HttpClientFactory.initOkHttpClient(conf, builder, dns, connectionPool, cache) val userAgent = UserAgentUtils.getDefaultUserAgentStringSafe(context) - return OkHttpDataSourceFactory(builder.build(), userAgent, null) + return OkHttpDataSourceFactory(builder.build(), userAgent) } @Provides