WebLoadEvent$2.smali 
.class Lio/dcloud/common/adapter/ui/webview/WebLoadEvent$2;
.super Ljava/lang/Object;
# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lio/dcloud/common/adapter/ui/webview/WebLoadEvent;->onReceivedSslError(Landroid/webkit/WebView;Landroid/webkit/SslErrorHandler;Landroid/net/http/SslError;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation
# instance fields
.field final synthetic this$0:Lio/dcloud/common/adapter/ui/webview/WebLoadEvent;
.field final synthetic val$ad:Landroid/app/AlertDialog;
.field final synthetic val$error:Landroid/net/http/SslError;
.field final synthetic val$handler:Landroid/webkit/SslErrorHandler;
# direct methods
.method constructor <init>(Lio/dcloud/common/adapter/ui/webview/WebLoadEvent;Landroid/app/AlertDialog;Landroid/net/http/SslError;Landroid/webkit/SslErrorHandler;)V
    .registers 5
    .line 1
    iput-object p1, p0, Lio/dcloud/common/adapter/ui/webview/WebLoadEvent$2;->this$0:Lio/dcloud/common/adapter/ui/webview/WebLoadEvent;
    iput-object p2, p0, Lio/dcloud/common/adapter/ui/webview/WebLoadEvent$2;->val$ad:Landroid/app/AlertDialog;
    iput-object p3, p0, Lio/dcloud/common/adapter/ui/webview/WebLoadEvent$2;->val$error:Landroid/net/http/SslError;
    iput-object p4, p0, Lio/dcloud/common/adapter/ui/webview/WebLoadEvent$2;->val$handler:Landroid/webkit/SslErrorHandler;
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V
    return-void
.end method
# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .registers 3
    const/4 p1, -0x2
    if-ne p2, p1, :cond_e
    .line 1
    iget-object p1, p0, Lio/dcloud/common/adapter/ui/webview/WebLoadEvent$2;->val$ad:Landroid/app/AlertDialog;
    invoke-virtual {p1}, Landroid/app/AlertDialog;->cancel()V
    .line 2
    iget-object p1, p0, Lio/dcloud/common/adapter/ui/webview/WebLoadEvent$2;->val$ad:Landroid/app/AlertDialog;
    invoke-virtual {p1}, Landroid/app/AlertDialog;->dismiss()V
    goto :goto_29
    :cond_e
    const/4 p1, -0x3
    if-ne p2, p1, :cond_1b
    .line 4
    iget-object p1, p0, Lio/dcloud/common/adapter/ui/webview/WebLoadEvent$2;->val$error:Landroid/net/http/SslError;
    invoke-virtual {p1}, Landroid/net/http/SslError;->getCertificate()Landroid/net/http/SslCertificate;
    move-result-object p1
    invoke-virtual {p1}, Landroid/net/http/SslCertificate;->getIssuedBy()Landroid/net/http/SslCertificate$DName;
    goto :goto_29
    :cond_1b
    const/4 p1, -0x1
    if-ne p2, p1, :cond_29
    .line 6
    iget-object p1, p0, Lio/dcloud/common/adapter/ui/webview/WebLoadEvent$2;->val$handler:Landroid/webkit/SslErrorHandler;
    const/4 p2, 0x1
    invoke-static {p1, p2}, Lio/dcloud/common/adapter/ui/webview/WebViewFactory;->setSslHandlerState(Ljava/lang/Object;I)V
    .line 7
    iget-object p1, p0, Lio/dcloud/common/adapter/ui/webview/WebLoadEvent$2;->val$ad:Landroid/app/AlertDialog;
    invoke-virtual {p1}, Landroid/app/AlertDialog;->dismiss()V
    :cond_29
    :goto_29
    return-void
.end method