Update Exoplayer to 2.9.6

This commit is contained in:
Colin Kinloch 2020-05-01 16:28:27 +01:00
parent a722e40063
commit 9540af298e
2 changed files with 2 additions and 2 deletions

View File

@ -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',

View File

@ -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