Merge pull request #8624 from TacoTheDank/bumpOkhttp

Update OkHttp to 4.10.0
pull/8687/head
litetex 2022-07-24 15:02:08 +02:00 zatwierdzone przez GitHub
commit dcb332e08d
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 2 dodań i 3 usunięć

Wyświetl plik

@ -229,8 +229,7 @@ dependencies {
implementation "org.jsoup:jsoup:1.15.2"
// HTTP client
//noinspection GradleDependency --> do not update okhttp to keep supporting Android 4.4 users
implementation "com.squareup.okhttp3:okhttp:3.12.13"
implementation "com.squareup.okhttp3:okhttp:4.10.0"
// Media player
implementation "com.google.android.exoplayer:exoplayer-core:${exoPlayerVersion}"

Wyświetl plik

@ -135,7 +135,7 @@ public final class DownloaderImpl extends Downloader {
RequestBody requestBody = null;
if (dataToSend != null) {
requestBody = RequestBody.create(null, dataToSend);
requestBody = RequestBody.create(dataToSend);
}
final okhttp3.Request.Builder requestBuilder = new okhttp3.Request.Builder()