r.smali
.class public Lcom/fulishe/shadow/mediation/d/r;
.super Ljava/lang/Object;
.source ""
# interfaces
.implements Lcom/fulishe/shadow/base/n$a;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lcom/fulishe/shadow/base/n$a",
"<",
"Ljava/lang/String;",
">;"
}
.end annotation
# instance fields
.field public final synthetic a:Lcom/fulishe/shadow/mediation/d/q$a;
.field public final synthetic b:Lcom/fulishe/shadow/mediation/d/q;
# direct methods
.method public constructor <init>(Lcom/fulishe/shadow/mediation/d/q;Lcom/fulishe/shadow/mediation/d/q$a;)V
.registers 3
iput-object p1, p0, Lcom/fulishe/shadow/mediation/d/r;->b:Lcom/fulishe/shadow/mediation/d/q;
iput-object p2, p0, Lcom/fulishe/shadow/mediation/d/r;->a:Lcom/fulishe/shadow/mediation/d/q$a;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public a(Lcom/fulishe/shadow/base/n;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/fulishe/shadow/base/n",
"<",
"Ljava/lang/String;",
">;)V"
}
.end annotation
iget-object v0, p0, Lcom/fulishe/shadow/mediation/d/r;->a:Lcom/fulishe/shadow/mediation/d/q$a;
invoke-interface {v0}, Lcom/fulishe/shadow/mediation/d/q$a;->a()V
return-void
.end method
.method public b(Lcom/fulishe/shadow/base/n;)V
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/fulishe/shadow/base/n",
"<",
"Ljava/lang/String;",
">;)V"
}
.end annotation
:try_start_0
iget-object v0, p1, Lcom/fulishe/shadow/base/n;->a:Ljava/lang/Object;
check-cast v0, Ljava/lang/String;
iget-object v1, p0, Lcom/fulishe/shadow/mediation/d/r;->b:Lcom/fulishe/shadow/mediation/d/q;
invoke-static {v1}, Lcom/fulishe/shadow/mediation/d/q;->a(Lcom/fulishe/shadow/mediation/d/q;)Lcom/fulishe/shadow/base/m;
move-result-object v1
invoke-interface {v1}, Lcom/fulishe/shadow/base/m;->e()Lcom/xinmeng/shadow/interfaces/d;
move-result-object v1
if-eqz v1, :cond_14
invoke-interface {v1, v0}, Lcom/xinmeng/shadow/interfaces/d;->b(Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
:cond_14
new-instance v1, Lorg/json/JSONObject;
invoke-direct {v1, v0}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V
const-string v0, "code"
invoke-virtual {v1, v0}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
const-string v2, "1"
invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_5d
const-string v0, "data"
invoke-virtual {v1, v0}, Lorg/json/JSONObject;->optJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;
move-result-object v0
if-eqz v0, :cond_5d
const-string v1, "ext"
invoke-virtual {v0, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z
move-result v1
if-eqz v1, :cond_5d
iget-object v1, p0, Lcom/fulishe/shadow/mediation/d/r;->b:Lcom/fulishe/shadow/mediation/d/q;
const-string v2, "ext"
invoke-virtual {v0, v2}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
invoke-static {v1, v0}, Lcom/fulishe/shadow/mediation/d/q;->a(Lcom/fulishe/shadow/mediation/d/q;Ljava/lang/String;)Ljava/lang/String;
iget-object v0, p0, Lcom/fulishe/shadow/mediation/d/r;->b:Lcom/fulishe/shadow/mediation/d/q;
invoke-static {v0}, Lcom/fulishe/shadow/mediation/d/q;->a(Lcom/fulishe/shadow/mediation/d/q;)Lcom/fulishe/shadow/base/m;
move-result-object v0
iget-object v1, p0, Lcom/fulishe/shadow/mediation/d/r;->b:Lcom/fulishe/shadow/mediation/d/q;
invoke-static {v1}, Lcom/fulishe/shadow/mediation/d/q;->a(Lcom/fulishe/shadow/mediation/d/q;)Lcom/fulishe/shadow/base/m;
move-result-object v1
invoke-interface {v1}, Lcom/fulishe/shadow/base/m;->a()Landroid/content/Context;
:try_end_51
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_51} :catch_63
move-result-object v1
const-string v2, "KEY_ADV_POLLING_EXT"
:try_start_54
iget-object v3, p0, Lcom/fulishe/shadow/mediation/d/r;->b:Lcom/fulishe/shadow/mediation/d/q;
invoke-static {v3}, Lcom/fulishe/shadow/mediation/d/q;->b(Lcom/fulishe/shadow/mediation/d/q;)Ljava/lang/String;
move-result-object v3
invoke-interface {v0, v1, v2, v3}, Lcom/fulishe/shadow/base/m;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V
:try_end_5d
.catch Ljava/lang/Exception; {:try_start_54 .. :try_end_5d} :catch_63
:cond_5d
:goto_5d
iget-object v0, p0, Lcom/fulishe/shadow/mediation/d/r;->a:Lcom/fulishe/shadow/mediation/d/q$a;
invoke-interface {v0}, Lcom/fulishe/shadow/mediation/d/q$a;->a()V
return-void
:catch_63
move-exception v0
invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V
goto :goto_5d
.end method