61 lines
1.5 KiB
Smali
61 lines
1.5 KiB
Smali
.class Lcom/tencent/smtt/sdk/c;
|
|
.super Ljava/lang/Object;
|
|
|
|
# interfaces
|
|
.implements Landroid/webkit/ValueCallback;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Object;",
|
|
"Landroid/webkit/ValueCallback<",
|
|
"Lcom/tencent/smtt/export/external/jscore/interfaces/IX5JsValue;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic a:Landroid/webkit/ValueCallback;
|
|
|
|
.field final synthetic b:Lcom/tencent/smtt/sdk/JsContext;
|
|
|
|
|
|
# virtual methods
|
|
.method public a(Lcom/tencent/smtt/export/external/jscore/interfaces/IX5JsValue;)V
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/tencent/smtt/sdk/c;->a:Landroid/webkit/ValueCallback;
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
new-instance v1, Lcom/tencent/smtt/sdk/JsValue;
|
|
|
|
iget-object v2, p0, Lcom/tencent/smtt/sdk/c;->b:Lcom/tencent/smtt/sdk/JsContext;
|
|
|
|
invoke-direct {v1, v2, p1}, Lcom/tencent/smtt/sdk/JsValue;-><init>(Lcom/tencent/smtt/sdk/JsContext;Lcom/tencent/smtt/export/external/jscore/interfaces/IX5JsValue;)V
|
|
|
|
move-object p1, v1
|
|
|
|
:goto_0
|
|
invoke-interface {v0, p1}, Landroid/webkit/ValueCallback;->onReceiveValue(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public synthetic onReceiveValue(Ljava/lang/Object;)V
|
|
.locals 0
|
|
|
|
check-cast p1, Lcom/tencent/smtt/export/external/jscore/interfaces/IX5JsValue;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/tencent/smtt/sdk/c;->a(Lcom/tencent/smtt/export/external/jscore/interfaces/IX5JsValue;)V
|
|
|
|
return-void
|
|
.end method
|