RuleDialog$2.smali
.class final Lsg/bigo/live/support64/component/pk/view/RuleDialog$2;
.super Landroid/webkit/WebChromeClient;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lsg/bigo/live/support64/component/pk/view/RuleDialog;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic a:Lsg/bigo/live/support64/component/pk/view/RuleDialog;
# direct methods
.method constructor <init>(Lsg/bigo/live/support64/component/pk/view/RuleDialog;)V
.registers 2
.line 134
iput-object p1, p0, Lsg/bigo/live/support64/component/pk/view/RuleDialog$2;->a:Lsg/bigo/live/support64/component/pk/view/RuleDialog;
invoke-direct {p0}, Landroid/webkit/WebChromeClient;-><init>()V
return-void
.end method
# virtual methods
.method public final onJsAlert(Landroid/webkit/WebView;Ljava/lang/String;Ljava/lang/String;Landroid/webkit/JsResult;)Z
.registers 5
.line 149
invoke-super {p0, p1, p2, p3, p4}, Landroid/webkit/WebChromeClient;->onJsAlert(Landroid/webkit/WebView;Ljava/lang/String;Ljava/lang/String;Landroid/webkit/JsResult;)Z
move-result p1
return p1
.end method
.method public final onProgressChanged(Landroid/webkit/WebView;I)V
.registers 4
.line 138
iget-object p1, p0, Lsg/bigo/live/support64/component/pk/view/RuleDialog$2;->a:Lsg/bigo/live/support64/component/pk/view/RuleDialog;
invoke-static {p1}, Lsg/bigo/live/support64/component/pk/view/RuleDialog;->a(Lsg/bigo/live/support64/component/pk/view/RuleDialog;)Landroid/widget/ProgressBar;
move-result-object p1
const/4 v0, 0x0
invoke-virtual {p1, v0}, Landroid/widget/ProgressBar;->setVisibility(I)V
.line 139
iget-object p1, p0, Lsg/bigo/live/support64/component/pk/view/RuleDialog$2;->a:Lsg/bigo/live/support64/component/pk/view/RuleDialog;
invoke-static {p1}, Lsg/bigo/live/support64/component/pk/view/RuleDialog;->a(Lsg/bigo/live/support64/component/pk/view/RuleDialog;)Landroid/widget/ProgressBar;
move-result-object p1
invoke-virtual {p1, p2}, Landroid/widget/ProgressBar;->setProgress(I)V
const/16 p1, 0x64
if-ne p2, p1, :cond_22
.line 141
iget-object p1, p0, Lsg/bigo/live/support64/component/pk/view/RuleDialog$2;->a:Lsg/bigo/live/support64/component/pk/view/RuleDialog;
invoke-static {p1}, Lsg/bigo/live/support64/component/pk/view/RuleDialog;->a(Lsg/bigo/live/support64/component/pk/view/RuleDialog;)Landroid/widget/ProgressBar;
move-result-object p1
const/16 p2, 0x8
invoke-virtual {p1, p2}, Landroid/widget/ProgressBar;->setVisibility(I)V
:cond_22
return-void
.end method