CommonWebViewActivity$MyWebChromeClient.smali
.class public Lcom/hurizem/activity/CommonWebViewActivity$MyWebChromeClient;
.super Landroid/webkit/WebChromeClient;
.source "CommonWebViewActivity.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/hurizem/activity/CommonWebViewActivity;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = "MyWebChromeClient"
.end annotation
# instance fields
.field final synthetic this$0:Lcom/hurizem/activity/CommonWebViewActivity;
# direct methods
.method public constructor <init>(Lcom/hurizem/activity/CommonWebViewActivity;)V
.registers 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x8010
}
names = {
"this$0"
}
.end annotation
.line 254
iput-object p1, p0, Lcom/hurizem/activity/CommonWebViewActivity$MyWebChromeClient;->this$0:Lcom/hurizem/activity/CommonWebViewActivity;
invoke-direct {p0}, Landroid/webkit/WebChromeClient;-><init>()V
return-void
.end method
# virtual methods
.method public onProgressChanged(Landroid/webkit/WebView;I)V
.registers 3
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"view",
"newProgress"
}
.end annotation
.line 297
invoke-super {p0, p1, p2}, Landroid/webkit/WebChromeClient;->onProgressChanged(Landroid/webkit/WebView;I)V
.line 298
iget-object p1, p0, Lcom/hurizem/activity/CommonWebViewActivity$MyWebChromeClient;->this$0:Lcom/hurizem/activity/CommonWebViewActivity;
iget-object p1, p1, Lcom/hurizem/activity/CommonWebViewActivity;->webViewPb:Landroid/widget/ProgressBar;
if-eqz p1, :cond_10
.line 299
iget-object p1, p0, Lcom/hurizem/activity/CommonWebViewActivity$MyWebChromeClient;->this$0:Lcom/hurizem/activity/CommonWebViewActivity;
iget-object p1, p1, Lcom/hurizem/activity/CommonWebViewActivity;->webViewPb:Landroid/widget/ProgressBar;
invoke-virtual {p1, p2}, Landroid/widget/ProgressBar;->setProgress(I)V
:cond_10
return-void
.end method
.method public onReceivedTitle(Landroid/webkit/WebView;Ljava/lang/String;)V
.registers 3
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"view",
"title"
}
.end annotation
.line 265
invoke-super {p0, p1, p2}, Landroid/webkit/WebChromeClient;->onReceivedTitle(Landroid/webkit/WebView;Ljava/lang/String;)V
.line 266
iget-object p1, p0, Lcom/hurizem/activity/CommonWebViewActivity$MyWebChromeClient;->this$0:Lcom/hurizem/activity/CommonWebViewActivity;
iget-object p1, p1, Lcom/hurizem/activity/CommonWebViewActivity;->webviewTitle:Ljava/lang/String;
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result p1
if-eqz p1, :cond_12
const-string p1, "/"
.line 267
invoke-virtual {p2, p1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z
:cond_12
return-void
.end method
.method public onShowFileChooser(Landroid/webkit/WebView;Landroid/webkit/ValueCallback;Landroid/webkit/WebChromeClient$FileChooserParams;)Z
.registers 4
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0,
0x0
}
names = {
"webView",
"filePathCallback",
"fileChooserParams"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/webkit/WebView;",
"Landroid/webkit/ValueCallback<",
"[",
"Landroid/net/Uri;",
">;",
"Landroid/webkit/WebChromeClient$FileChooserParams;",
")Z"
}
.end annotation
.line 258
iget-object p1, p0, Lcom/hurizem/activity/CommonWebViewActivity$MyWebChromeClient;->this$0:Lcom/hurizem/activity/CommonWebViewActivity;
# setter for: Lcom/hurizem/activity/CommonWebViewActivity;->mUploadCallbackAboveL:Landroid/webkit/ValueCallback;
invoke-static {p1, p2}, Lcom/hurizem/activity/CommonWebViewActivity;->access$002(Lcom/hurizem/activity/CommonWebViewActivity;Landroid/webkit/ValueCallback;)Landroid/webkit/ValueCallback;
.line 259
iget-object p1, p0, Lcom/hurizem/activity/CommonWebViewActivity$MyWebChromeClient;->this$0:Lcom/hurizem/activity/CommonWebViewActivity;
# invokes: Lcom/hurizem/activity/CommonWebViewActivity;->requestSmsPermission()V
invoke-static {p1}, Lcom/hurizem/activity/CommonWebViewActivity;->access$100(Lcom/hurizem/activity/CommonWebViewActivity;)V
const/4 p1, 0x1
return p1
.end method
.method public openFileChooser(Landroid/webkit/ValueCallback;)V
.registers 3
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"filePathCallback"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/webkit/ValueCallback<",
"Landroid/net/Uri;",
">;)V"
}
.end annotation
.line 275
iget-object v0, p0, Lcom/hurizem/activity/CommonWebViewActivity$MyWebChromeClient;->this$0:Lcom/hurizem/activity/CommonWebViewActivity;
# setter for: Lcom/hurizem/activity/CommonWebViewActivity;->mUploadMessage:Landroid/webkit/ValueCallback;
invoke-static {v0, p1}, Lcom/hurizem/activity/CommonWebViewActivity;->access$202(Lcom/hurizem/activity/CommonWebViewActivity;Landroid/webkit/ValueCallback;)Landroid/webkit/ValueCallback;
.line 276
iget-object p1, p0, Lcom/hurizem/activity/CommonWebViewActivity$MyWebChromeClient;->this$0:Lcom/hurizem/activity/CommonWebViewActivity;
# invokes: Lcom/hurizem/activity/CommonWebViewActivity;->requestSmsPermission()V
invoke-static {p1}, Lcom/hurizem/activity/CommonWebViewActivity;->access$100(Lcom/hurizem/activity/CommonWebViewActivity;)V
return-void
.end method
.method public openFileChooser(Landroid/webkit/ValueCallback;Ljava/lang/String;)V
.registers 3
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"filePathCallback",
"acceptType"
}
.end annotation
.line 283
iget-object p2, p0, Lcom/hurizem/activity/CommonWebViewActivity$MyWebChromeClient;->this$0:Lcom/hurizem/activity/CommonWebViewActivity;
# setter for: Lcom/hurizem/activity/CommonWebViewActivity;->mUploadMessage:Landroid/webkit/ValueCallback;
invoke-static {p2, p1}, Lcom/hurizem/activity/CommonWebViewActivity;->access$202(Lcom/hurizem/activity/CommonWebViewActivity;Landroid/webkit/ValueCallback;)Landroid/webkit/ValueCallback;
.line 284
iget-object p1, p0, Lcom/hurizem/activity/CommonWebViewActivity$MyWebChromeClient;->this$0:Lcom/hurizem/activity/CommonWebViewActivity;
# invokes: Lcom/hurizem/activity/CommonWebViewActivity;->requestSmsPermission()V
invoke-static {p1}, Lcom/hurizem/activity/CommonWebViewActivity;->access$100(Lcom/hurizem/activity/CommonWebViewActivity;)V
return-void
.end method
.method public openFileChooser(Landroid/webkit/ValueCallback;Ljava/lang/String;Ljava/lang/String;)V
.registers 4
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0,
0x0
}
names = {
"filePathCallback",
"acceptType",
"capture"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/webkit/ValueCallback<",
"Landroid/net/Uri;",
">;",
"Ljava/lang/String;",
"Ljava/lang/String;",
")V"
}
.end annotation
.line 291
iget-object p2, p0, Lcom/hurizem/activity/CommonWebViewActivity$MyWebChromeClient;->this$0:Lcom/hurizem/activity/CommonWebViewActivity;
# setter for: Lcom/hurizem/activity/CommonWebViewActivity;->mUploadMessage:Landroid/webkit/ValueCallback;
invoke-static {p2, p1}, Lcom/hurizem/activity/CommonWebViewActivity;->access$202(Lcom/hurizem/activity/CommonWebViewActivity;Landroid/webkit/ValueCallback;)Landroid/webkit/ValueCallback;
.line 292
iget-object p1, p0, Lcom/hurizem/activity/CommonWebViewActivity$MyWebChromeClient;->this$0:Lcom/hurizem/activity/CommonWebViewActivity;
# invokes: Lcom/hurizem/activity/CommonWebViewActivity;->requestSmsPermission()V
invoke-static {p1}, Lcom/hurizem/activity/CommonWebViewActivity;->access$100(Lcom/hurizem/activity/CommonWebViewActivity;)V
return-void
.end method