109 lines
2.2 KiB
Smali
109 lines
2.2 KiB
Smali
.class public final Lcom/ironsource/r0$a;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lcom/ironsource/r0;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/ironsource/r0;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "a"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private final a:Lorg/json/JSONObject;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lorg/json/JSONObject;)V
|
|
.locals 1
|
|
|
|
const-string v0, "applicationConfig"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/ironsource/r0$a;->a:Lorg/json/JSONObject;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a()Lorg/json/JSONObject;
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/ironsource/r0$a;->a:Lorg/json/JSONObject;
|
|
|
|
const-string v1, "controllerConfig"
|
|
|
|
invoke-virtual {v0, v1}, Lorg/json/JSONObject;->optJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;
|
|
|
|
move-result-object v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
new-instance v0, Lorg/json/JSONObject;
|
|
|
|
invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V
|
|
|
|
:cond_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public b()I
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Lcom/ironsource/r0$a;->a:Lorg/json/JSONObject;
|
|
|
|
const-string v1, "debugMode"
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I
|
|
|
|
move-result v0
|
|
|
|
iget-object v1, p0, Lcom/ironsource/r0$a;->a:Lorg/json/JSONObject;
|
|
|
|
const-string v3, "adptDebugMode"
|
|
|
|
invoke-virtual {v1, v3, v2}, Lorg/json/JSONObject;->optBoolean(Ljava/lang/String;Z)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
const/4 v0, 0x3
|
|
|
|
:cond_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public c()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/ironsource/r0$a;->a:Lorg/json/JSONObject;
|
|
|
|
const-string v1, "controllerUrl"
|
|
|
|
invoke-virtual {v0, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const-string v0, ""
|
|
|
|
:cond_0
|
|
return-object v0
|
|
.end method
|