Skip to content

Commit

Permalink
Fix class import error
Browse files Browse the repository at this point in the history
  • Loading branch information
hypery2k committed Jun 23, 2014
1 parent 74df3f9 commit 9397f0f
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
package de.martinreinhardt.cordova.plugins;


import org.apache.cordova.CordovaInterface;
import org.apache.cordova.CordovaWebView;
import org.apache.cordova.CordovaWebViewClient;

import android.util.Log;
import android.net.http.SslError;
import android.webkit.SslErrorHandler;
import android.webkit.WebView;
Expand All @@ -18,6 +20,8 @@
*/
public class CertificatesCordovaWebViewClient extends CordovaWebViewClient {

public static final String TAG = "CertificatesCordovaWebViewClient";

private boolean allowUntrusted = false;

public CertificatesCordovaWebViewClient(CordovaInterface cordova) {
Expand All @@ -34,7 +38,7 @@ public boolean isAllowUntrusted() {

@Override
public void onReceivedSslError(WebView view, SslErrorHandler handler, SslError error) {
Log.d("onReceivedSslError. Proceed? " + isAllowUntrusted());
Log.d(TAG, "onReceivedSslError. Proceed? " + isAllowUntrusted());
if (isAllowUntrusted()) {
handler.proceed();
} else {
Expand Down

0 comments on commit 9397f0f

Please sign in to comment.