Skip to content

Commit

Permalink
Merge pull request #8624 from TacoTheDank/bumpOkhttp
Browse files Browse the repository at this point in the history
Update OkHttp to 4.10.0
  • Loading branch information
litetex authored Jul 24, 2022
2 parents 51e72d1 + c1e78cf commit dcb332e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/org/schabi/newpipe/DownloaderImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public Response execute(@NonNull final Request request)

RequestBody requestBody = null;
if (dataToSend != null) {
requestBody = RequestBody.create(null, dataToSend);
requestBody = RequestBody.create(dataToSend);
}

final okhttp3.Request.Builder requestBuilder = new okhttp3.Request.Builder()
Expand Down

0 comments on commit dcb332e

Please sign in to comment.