File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/platforms/android/java/com/nativescript/https Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7,12 +7,12 @@ public class OkhttpCallback implements okhttp3.Callback {
77 public void onStringResponse (String responseString , int statusCode , okhttp3 .Headers headers ) {}
88 public void onResponse (okhttp3 .Call call , okhttp3 .Response response ) throws java .io .IOException {
99 String responseString = null ;
10- Log .d (TAG , "onResponse1: " + ((android .os .Looper .getMainLooper ().getThread () == java .lang .Thread .currentThread ()) ? "1" : "0" ));
1110 okhttp3 .ResponseBody responseBody = response .body ();
1211 responseString = responseBody .string ();
1312 responseBody .close ();
14- Log .d (TAG , "onResponse2" );
1513 onStringResponse (responseString , response .code (), response .headers ());
1614 }
1715 public void onFailure (okhttp3 .Call call , java .io .IOException e ) {}
16+
17+
1818}
You can’t perform that action at this time.
0 commit comments