ChromeClient$d.smali

.class final Lsg/bigo/spark/component/webview/ChromeClient$d;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Landroid/content/DialogInterface$OnCancelListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lsg/bigo/spark/component/webview/ChromeClient;->onJsConfirm(Landroid/webkit/WebView;Ljava/lang/String;Ljava/lang/String;Landroid/webkit/JsResult;)Z
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x18
    name = null
.end annotation


# instance fields
.field final synthetic a:Lsg/bigo/spark/component/webview/ChromeClient;

.field final synthetic b:Landroid/webkit/JsResult;


# direct methods
.method constructor <init>(Lsg/bigo/spark/component/webview/ChromeClient;Landroid/webkit/JsResult;)V
    .registers 3

    iput-object p1, p0, Lsg/bigo/spark/component/webview/ChromeClient$d;->a:Lsg/bigo/spark/component/webview/ChromeClient;

    iput-object p2, p0, Lsg/bigo/spark/component/webview/ChromeClient$d;->b:Landroid/webkit/JsResult;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final onCancel(Landroid/content/DialogInterface;)V
    .registers 3

    .line 162
    iget-object p1, p0, Lsg/bigo/spark/component/webview/ChromeClient$d;->b:Landroid/webkit/JsResult;

    invoke-virtual {p1}, Landroid/webkit/JsResult;->cancel()V

    .line 163
    iget-object p1, p0, Lsg/bigo/spark/component/webview/ChromeClient$d;->a:Lsg/bigo/spark/component/webview/ChromeClient;

    invoke-static {p1}, Lsg/bigo/spark/component/webview/ChromeClient;->a(Lsg/bigo/spark/component/webview/ChromeClient;)Ljava/util/ArrayList;

    move-result-object p1

    iget-object v0, p0, Lsg/bigo/spark/component/webview/ChromeClient$d;->b:Landroid/webkit/JsResult;

    invoke-virtual {p1, v0}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    return-void
.end method