138 lines
3.1 KiB
Smali
138 lines
3.1 KiB
Smali
.class public final Lcom/discord/utilities/analytics/AdjustConfig$init$3;
|
|
.super Lk0/n/c/i;
|
|
.source "AdjustConfig.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/jvm/functions/Function1;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/utilities/analytics/AdjustConfig;->init(Landroid/app/Application;Z)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lk0/n/c/i;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"Ljava/lang/String;",
|
|
"Lkotlin/Unit;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic $application:Landroid/app/Application;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/app/Application;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/utilities/analytics/AdjustConfig$init$3;->$application:Landroid/app/Application;
|
|
|
|
const/4 p1, 0x1
|
|
|
|
invoke-direct {p0, p1}, Lk0/n/c/i;-><init>(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 0
|
|
|
|
check-cast p1, Ljava/lang/String;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/utilities/analytics/AdjustConfig$init$3;->invoke(Ljava/lang/String;)V
|
|
|
|
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final invoke(Ljava/lang/String;)V
|
|
.locals 8
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
iget-object v3, p0, Lcom/discord/utilities/analytics/AdjustConfig$init$3;->$application:Landroid/app/Application;
|
|
|
|
invoke-static {}, Le0/a/b/b/a;->N()Lf/c/a/d0;
|
|
|
|
move-result-object v7
|
|
|
|
if-eqz v7, :cond_2
|
|
|
|
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
|
|
|
|
move-result-wide v5
|
|
|
|
invoke-virtual {p1}, Ljava/lang/String;->length()I
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
new-instance v0, Lf/c/a/c0;
|
|
|
|
move-object v1, v0
|
|
|
|
move-object v2, v7
|
|
|
|
move-object v4, p1
|
|
|
|
invoke-direct/range {v1 .. v6}, Lf/c/a/c0;-><init>(Lf/c/a/d0;Landroid/content/Context;Ljava/lang/String;J)V
|
|
|
|
invoke-static {v0}, Lf/c/a/e2;->G(Ljava/lang/Runnable;)V
|
|
|
|
const-string v0, "referrer"
|
|
|
|
invoke-virtual {v7, v0}, Lf/c/a/d0;->b(Ljava/lang/String;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-object v0, v7, Lf/c/a/d0;->c:Lf/c/a/u0;
|
|
|
|
invoke-interface {v0}, Lf/c/a/u0;->isEnabled()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-object v0, v7, Lf/c/a/d0;->c:Lf/c/a/u0;
|
|
|
|
invoke-interface {v0}, Lf/c/a/u0;->k()V
|
|
|
|
:cond_1
|
|
:goto_0
|
|
sget-object v0, Lcom/discord/utilities/analytics/AnalyticSuperProperties;->INSTANCE:Lcom/discord/utilities/analytics/AnalyticSuperProperties;
|
|
|
|
invoke-virtual {v0, p1}, Lcom/discord/utilities/analytics/AnalyticSuperProperties;->setCampaignProperties(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
|
|
:cond_2
|
|
throw v0
|
|
|
|
:cond_3
|
|
const-string p1, "referrerUrl"
|
|
|
|
invoke-static {p1}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|