mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-12-23 08:30:44 +00:00
Merge pull request #8624 from TacoTheDank/bumpOkhttp
Update OkHttp to 4.10.0
This commit is contained in:
commit
dcb332e08d
@ -229,8 +229,7 @@ dependencies {
|
|||||||
implementation "org.jsoup:jsoup:1.15.2"
|
implementation "org.jsoup:jsoup:1.15.2"
|
||||||
|
|
||||||
// HTTP client
|
// HTTP client
|
||||||
//noinspection GradleDependency --> do not update okhttp to keep supporting Android 4.4 users
|
implementation "com.squareup.okhttp3:okhttp:4.10.0"
|
||||||
implementation "com.squareup.okhttp3:okhttp:3.12.13"
|
|
||||||
|
|
||||||
// Media player
|
// Media player
|
||||||
implementation "com.google.android.exoplayer:exoplayer-core:${exoPlayerVersion}"
|
implementation "com.google.android.exoplayer:exoplayer-core:${exoPlayerVersion}"
|
||||||
|
@ -135,7 +135,7 @@ public final class DownloaderImpl extends Downloader {
|
|||||||
|
|
||||||
RequestBody requestBody = null;
|
RequestBody requestBody = null;
|
||||||
if (dataToSend != null) {
|
if (dataToSend != null) {
|
||||||
requestBody = RequestBody.create(null, dataToSend);
|
requestBody = RequestBody.create(dataToSend);
|
||||||
}
|
}
|
||||||
|
|
||||||
final okhttp3.Request.Builder requestBuilder = new okhttp3.Request.Builder()
|
final okhttp3.Request.Builder requestBuilder = new okhttp3.Request.Builder()
|
||||||
|
Loading…
Reference in New Issue
Block a user