Skip to content

Commit

Permalink
Merge pull request #2410 from dimagi/android4Fix
Browse files Browse the repository at this point in the history
Initialize TLS1.2 before adding the isrg cert
  • Loading branch information
shubham1g5 authored Nov 26, 2020
2 parents 377802b + 9890868 commit 2643826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/org/commcare/CommCareApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,8 @@ public void onCreate() {
// improperly, so the second https request in a short time period will flop)
System.setProperty("http.keepAlive", "false");

attachISRGCert();
initTls12IfNeeded();
attachISRGCert();

Thread.setDefaultUncaughtExceptionHandler(new CommCareExceptionHandler(Thread.getDefaultUncaughtExceptionHandler(), this));

Expand Down

0 comments on commit 2643826

Please sign in to comment.