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