i.smali

.class Lcom/bytedance/embedapplog/i;
.super Lcom/bytedance/embedapplog/cw;
.source "SourceFile"


# instance fields
.field private final e:Landroid/content/Context;

.field private final f:Lcom/bytedance/embedapplog/db;


# direct methods
.method constructor <init>(Landroid/content/Context;Lcom/bytedance/embedapplog/db;)V
    .registers 5

    .prologue
    .line 21
    const/4 v0, 0x1

    const/4 v1, 0x0

    invoke-direct {p0, v0, v1}, Lcom/bytedance/embedapplog/cw;-><init>(ZZ)V

    .line 22
    iput-object p1, p0, Lcom/bytedance/embedapplog/i;->e:Landroid/content/Context;

    .line 23
    iput-object p2, p0, Lcom/bytedance/embedapplog/i;->f:Lcom/bytedance/embedapplog/db;

    .line 24
    return-void
.end method


# virtual methods
.method protected a(Lorg/json/JSONObject;)Z
    .registers 4

    .prologue
    .line 28
    invoke-static {}, Lcom/bytedance/embedapplog/AppLog;->getInitConfig()Lcom/bytedance/embedapplog/InitConfig;

    move-result-object v0

    if-eqz v0, :cond_1f

    invoke-static {}, Lcom/bytedance/embedapplog/AppLog;->getInitConfig()Lcom/bytedance/embedapplog/InitConfig;

    move-result-object v0

    invoke-virtual {v0}, Lcom/bytedance/embedapplog/InitConfig;->getSensitiveInfoProvider()Lcom/bytedance/embedapplog/ISensitiveInfoProvider;

    move-result-object v0

    invoke-interface {v0}, Lcom/bytedance/embedapplog/ISensitiveInfoProvider;->getMac()Ljava/lang/String;

    move-result-object v0

    .line 29
    :goto_12
    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_1d

    .line 30
    const-string v1, "mc"

    invoke-virtual {p1, v1, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    .line 32
    :cond_1d
    const/4 v0, 0x1

    return v0

    .line 28
    :cond_1f
    const-string v0, ""

    goto :goto_12
.end method