apkfuckery/com.discord/smali/com/adjust/sdk/a.smali
2019-02-04 21:29:01 +01:00

3580 lines
87 KiB
Smali

.class public final Lcom/adjust/sdk/a;
.super Ljava/lang/Object;
.source "ActivityHandler.java"
# interfaces
.implements Lcom/adjust/sdk/v;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/adjust/sdk/a$a;
}
.end annotation
# static fields
.field private static cb:J
.field private static cc:J
.field private static cd:J
.field private static ce:J
.field private static cf:J
# instance fields
.field cg:Lcom/adjust/sdk/s;
.field ch:Lcom/adjust/sdk/y;
.field ci:Lcom/adjust/sdk/d;
.field cj:Lcom/adjust/sdk/x;
.field private ck:Lcom/adjust/sdk/aw;
.field cl:Lcom/adjust/sdk/ax;
.field private cm:Lcom/adjust/sdk/ax;
.field private cn:Lcom/adjust/sdk/a$a;
.field private co:Lcom/adjust/sdk/t;
.field cp:Lcom/adjust/sdk/AdjustConfig;
.field private cq:Lcom/adjust/sdk/f;
.field private cr:Lcom/adjust/sdk/w;
.field private cs:Lcom/adjust/sdk/ab;
.field private ct:Lcom/adjust/sdk/at;
.field private cu:Lcom/adjust/sdk/ac;
# direct methods
.method constructor <init>(Lcom/adjust/sdk/AdjustConfig;)V
.locals 4
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
invoke-static {}, Lcom/adjust/sdk/j;->X()Lcom/adjust/sdk/x;
move-result-object v0
iput-object v0, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
iget-object v0, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
invoke-interface {v0}, Lcom/adjust/sdk/x;->ai()V
new-instance v0, Lcom/adjust/sdk/s;
const-string v1, "ActivityHandler"
const/4 v2, 0x0
invoke-direct {v0, v1, v2}, Lcom/adjust/sdk/s;-><init>(Ljava/lang/String;Z)V
iput-object v0, p0, Lcom/adjust/sdk/a;->cg:Lcom/adjust/sdk/s;
new-instance v0, Lcom/adjust/sdk/a$a;
invoke-direct {v0, p0}, Lcom/adjust/sdk/a$a;-><init>(Lcom/adjust/sdk/a;)V
iput-object v0, p0, Lcom/adjust/sdk/a;->cn:Lcom/adjust/sdk/a$a;
iget-object v0, p0, Lcom/adjust/sdk/a;->cn:Lcom/adjust/sdk/a$a;
iget-object v1, p1, Lcom/adjust/sdk/AdjustConfig;->dq:Ljava/lang/Boolean;
const/4 v3, 0x1
if-eqz v1, :cond_0
iget-object v1, p1, Lcom/adjust/sdk/AdjustConfig;->dq:Ljava/lang/Boolean;
invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z
move-result v1
goto :goto_0
:cond_0
const/4 v1, 0x1
:goto_0
iput-boolean v1, v0, Lcom/adjust/sdk/a$a;->enabled:Z
iget-object v0, p0, Lcom/adjust/sdk/a;->cn:Lcom/adjust/sdk/a$a;
iget-boolean p1, p1, Lcom/adjust/sdk/AdjustConfig;->dr:Z
iput-boolean p1, v0, Lcom/adjust/sdk/a$a;->offline:Z
iget-object p1, p0, Lcom/adjust/sdk/a;->cn:Lcom/adjust/sdk/a$a;
iput-boolean v3, p1, Lcom/adjust/sdk/a$a;->cJ:Z
iput-boolean v2, p1, Lcom/adjust/sdk/a$a;->cK:Z
iput-boolean v2, p1, Lcom/adjust/sdk/a$a;->updatePackages:Z
iput-boolean v2, p1, Lcom/adjust/sdk/a$a;->cM:Z
iget-object p1, p0, Lcom/adjust/sdk/a;->cg:Lcom/adjust/sdk/s;
new-instance v0, Lcom/adjust/sdk/a$1;
invoke-direct {v0, p0}, Lcom/adjust/sdk/a$1;-><init>(Lcom/adjust/sdk/a;)V
invoke-virtual {p1, v0}, Lcom/adjust/sdk/s;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
return-void
.end method
.method private F()Z
.locals 1
iget-object v0, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
if-eqz v0, :cond_0
iget-boolean v0, v0, Lcom/adjust/sdk/d;->enabled:Z
return v0
:cond_0
iget-object v0, p0, Lcom/adjust/sdk/a;->cn:Lcom/adjust/sdk/a$a;
iget-boolean v0, v0, Lcom/adjust/sdk/a$a;->enabled:Z
return v0
.end method
.method private H()V
.locals 1
invoke-direct {p0}, Lcom/adjust/sdk/a;->F()Z
move-result v0
if-nez v0, :cond_0
return-void
:cond_0
iget-object v0, p0, Lcom/adjust/sdk/a;->cs:Lcom/adjust/sdk/ab;
invoke-interface {v0}, Lcom/adjust/sdk/ab;->ak()V
return-void
.end method
.method private I()V
.locals 1
const/4 v0, 0x0
invoke-virtual {p0, v0}, Lcom/adjust/sdk/a;->g(Z)Z
move-result v0
if-nez v0, :cond_0
invoke-direct {p0}, Lcom/adjust/sdk/a;->J()V
return-void
:cond_0
invoke-direct {p0}, Lcom/adjust/sdk/a;->K()V
iget-object v0, p0, Lcom/adjust/sdk/a;->cn:Lcom/adjust/sdk/a$a;
iget-boolean v0, v0, Lcom/adjust/sdk/a$a;->cL:Z
if-eqz v0, :cond_1
iget-object v0, p0, Lcom/adjust/sdk/a;->cn:Lcom/adjust/sdk/a$a;
invoke-virtual {v0}, Lcom/adjust/sdk/a$a;->S()Z
move-result v0
if-eqz v0, :cond_1
iget-object v0, p0, Lcom/adjust/sdk/a;->ch:Lcom/adjust/sdk/y;
invoke-interface {v0}, Lcom/adjust/sdk/y;->aj()V
:cond_1
iget-object v0, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-boolean v0, v0, Lcom/adjust/sdk/AdjustConfig;->dc:Z
if-nez v0, :cond_2
iget-object v0, p0, Lcom/adjust/sdk/a;->ch:Lcom/adjust/sdk/y;
invoke-interface {v0}, Lcom/adjust/sdk/y;->aj()V
:cond_2
return-void
.end method
.method private J()V
.locals 1
iget-object v0, p0, Lcom/adjust/sdk/a;->cr:Lcom/adjust/sdk/w;
invoke-interface {v0}, Lcom/adjust/sdk/w;->ag()V
iget-object v0, p0, Lcom/adjust/sdk/a;->ch:Lcom/adjust/sdk/y;
invoke-interface {v0}, Lcom/adjust/sdk/y;->ag()V
const/4 v0, 0x1
invoke-virtual {p0, v0}, Lcom/adjust/sdk/a;->g(Z)Z
move-result v0
if-nez v0, :cond_0
iget-object v0, p0, Lcom/adjust/sdk/a;->cs:Lcom/adjust/sdk/ab;
invoke-interface {v0}, Lcom/adjust/sdk/ab;->ag()V
return-void
:cond_0
iget-object v0, p0, Lcom/adjust/sdk/a;->cs:Lcom/adjust/sdk/ab;
invoke-interface {v0}, Lcom/adjust/sdk/ab;->ah()V
return-void
.end method
.method private K()V
.locals 1
iget-object v0, p0, Lcom/adjust/sdk/a;->cr:Lcom/adjust/sdk/w;
invoke-interface {v0}, Lcom/adjust/sdk/w;->ah()V
iget-object v0, p0, Lcom/adjust/sdk/a;->ch:Lcom/adjust/sdk/y;
invoke-interface {v0}, Lcom/adjust/sdk/y;->ah()V
iget-object v0, p0, Lcom/adjust/sdk/a;->cs:Lcom/adjust/sdk/ab;
invoke-interface {v0}, Lcom/adjust/sdk/ab;->ah()V
return-void
.end method
.method private N()V
.locals 2
iget-object v0, p0, Lcom/adjust/sdk/a;->ch:Lcom/adjust/sdk/y;
iget-object v1, p0, Lcom/adjust/sdk/a;->ct:Lcom/adjust/sdk/at;
invoke-interface {v0, v1}, Lcom/adjust/sdk/y;->a(Lcom/adjust/sdk/at;)V
iget-object v0, p0, Lcom/adjust/sdk/a;->cn:Lcom/adjust/sdk/a$a;
const/4 v1, 0x0
iput-boolean v1, v0, Lcom/adjust/sdk/a$a;->updatePackages:Z
iget-object v0, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
if-eqz v0, :cond_0
iput-boolean v1, v0, Lcom/adjust/sdk/d;->updatePackages:Z
invoke-direct {p0}, Lcom/adjust/sdk/a;->P()V
:cond_0
return-void
.end method
.method private O()Z
.locals 1
iget-object v0, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
if-eqz v0, :cond_0
iget-boolean v0, v0, Lcom/adjust/sdk/d;->updatePackages:Z
return v0
:cond_0
iget-object v0, p0, Lcom/adjust/sdk/a;->cn:Lcom/adjust/sdk/a$a;
iget-boolean v0, v0, Lcom/adjust/sdk/a$a;->updatePackages:Z
return v0
.end method
.method private P()V
.locals 5
const-class v0, Lcom/adjust/sdk/d;
monitor-enter v0
:try_start_0
iget-object v1, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
if-nez v1, :cond_0
monitor-exit v0
return-void
:cond_0
iget-object v1, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
iget-object v2, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v2, v2, Lcom/adjust/sdk/AdjustConfig;->context:Landroid/content/Context;
const-string v3, "AdjustIoActivityState"
const-string v4, "Activity state"
invoke-static {v1, v2, v3, v4}, Lcom/adjust/sdk/ay;->a(Ljava/lang/Object;Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V
monitor-exit v0
return-void
:catchall_0
move-exception v1
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw v1
.end method
.method private a(Landroid/os/Handler;)V
.locals 1
iget-object v0, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v0, v0, Lcom/adjust/sdk/AdjustConfig;->de:Lcom/adjust/sdk/af;
if-nez v0, :cond_0
return-void
:cond_0
new-instance v0, Lcom/adjust/sdk/a$21;
invoke-direct {v0, p0}, Lcom/adjust/sdk/a$21;-><init>(Lcom/adjust/sdk/a;)V
invoke-virtual {p1, v0}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
return-void
.end method
.method static synthetic a(Lcom/adjust/sdk/a;)V
.locals 12
invoke-static {}, Lcom/adjust/sdk/j;->aa()J
move-result-wide v0
sput-wide v0, Lcom/adjust/sdk/a;->ce:J
invoke-static {}, Lcom/adjust/sdk/j;->ab()J
move-result-wide v0
sput-wide v0, Lcom/adjust/sdk/a;->cf:J
invoke-static {}, Lcom/adjust/sdk/j;->Y()J
move-result-wide v0
sput-wide v0, Lcom/adjust/sdk/a;->cb:J
invoke-static {}, Lcom/adjust/sdk/j;->Z()J
move-result-wide v0
sput-wide v0, Lcom/adjust/sdk/a;->cc:J
invoke-static {}, Lcom/adjust/sdk/j;->Y()J
move-result-wide v0
sput-wide v0, Lcom/adjust/sdk/a;->cd:J
iget-object v0, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v0, v0, Lcom/adjust/sdk/AdjustConfig;->context:Landroid/content/Context;
const/4 v1, 0x0
const/4 v2, 0x2
const/4 v3, 0x1
const/4 v4, 0x0
:try_start_0
const-string v5, "AdjustAttribution"
const-string v6, "Attribution"
const-class v7, Lcom/adjust/sdk/f;
invoke-static {v0, v5, v6, v7}, Lcom/adjust/sdk/ay;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/adjust/sdk/f;
iput-object v0, p0, Lcom/adjust/sdk/a;->cq:Lcom/adjust/sdk/f;
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v0
iget-object v5, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
const-string v6, "Failed to read %s file (%s)"
new-array v7, v2, [Ljava/lang/Object;
const-string v8, "Attribution"
aput-object v8, v7, v4
invoke-virtual {v0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
move-result-object v0
aput-object v0, v7, v3
invoke-interface {v5, v6, v7}, Lcom/adjust/sdk/x;->f(Ljava/lang/String;[Ljava/lang/Object;)V
iput-object v1, p0, Lcom/adjust/sdk/a;->cq:Lcom/adjust/sdk/f;
:goto_0
iget-object v0, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v0, v0, Lcom/adjust/sdk/AdjustConfig;->context:Landroid/content/Context;
:try_start_1
const-string v5, "AdjustIoActivityState"
const-string v6, "Activity state"
const-class v7, Lcom/adjust/sdk/d;
invoke-static {v0, v5, v6, v7}, Lcom/adjust/sdk/ay;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/adjust/sdk/d;
iput-object v0, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
:try_end_1
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1
goto :goto_1
:catch_1
move-exception v0
iget-object v5, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
const-string v6, "Failed to read %s file (%s)"
new-array v7, v2, [Ljava/lang/Object;
const-string v8, "Activity state"
aput-object v8, v7, v4
invoke-virtual {v0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
move-result-object v0
aput-object v0, v7, v3
invoke-interface {v5, v6, v7}, Lcom/adjust/sdk/x;->f(Ljava/lang/String;[Ljava/lang/Object;)V
iput-object v1, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
:goto_1
new-instance v0, Lcom/adjust/sdk/at;
invoke-direct {v0}, Lcom/adjust/sdk/at;-><init>()V
iput-object v0, p0, Lcom/adjust/sdk/a;->ct:Lcom/adjust/sdk/at;
iget-object v0, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v0, v0, Lcom/adjust/sdk/AdjustConfig;->context:Landroid/content/Context;
:try_start_2
iget-object v5, p0, Lcom/adjust/sdk/a;->ct:Lcom/adjust/sdk/at;
const-string v6, "AdjustSessionCallbackParameters"
const-string v7, "Session Callback parameters"
const-class v8, Ljava/util/Map;
invoke-static {v0, v6, v7, v8}, Lcom/adjust/sdk/ay;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/util/Map;
iput-object v0, v5, Lcom/adjust/sdk/at;->callbackParameters:Ljava/util/Map;
:try_end_2
.catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_2
goto :goto_2
:catch_2
move-exception v0
iget-object v5, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
const-string v6, "Failed to read %s file (%s)"
new-array v7, v2, [Ljava/lang/Object;
const-string v8, "Session Callback parameters"
aput-object v8, v7, v4
invoke-virtual {v0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
move-result-object v0
aput-object v0, v7, v3
invoke-interface {v5, v6, v7}, Lcom/adjust/sdk/x;->f(Ljava/lang/String;[Ljava/lang/Object;)V
iget-object v0, p0, Lcom/adjust/sdk/a;->ct:Lcom/adjust/sdk/at;
iput-object v1, v0, Lcom/adjust/sdk/at;->callbackParameters:Ljava/util/Map;
:goto_2
iget-object v0, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v0, v0, Lcom/adjust/sdk/AdjustConfig;->context:Landroid/content/Context;
:try_start_3
iget-object v5, p0, Lcom/adjust/sdk/a;->ct:Lcom/adjust/sdk/at;
const-string v6, "AdjustSessionPartnerParameters"
const-string v7, "Session Partner parameters"
const-class v8, Ljava/util/Map;
invoke-static {v0, v6, v7, v8}, Lcom/adjust/sdk/ay;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/util/Map;
iput-object v0, v5, Lcom/adjust/sdk/at;->partnerParameters:Ljava/util/Map;
:try_end_3
.catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_3
goto :goto_3
:catch_3
move-exception v0
iget-object v5, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
const-string v6, "Failed to read %s file (%s)"
new-array v2, v2, [Ljava/lang/Object;
const-string v7, "Session Partner parameters"
aput-object v7, v2, v4
invoke-virtual {v0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
move-result-object v0
aput-object v0, v2, v3
invoke-interface {v5, v6, v2}, Lcom/adjust/sdk/x;->f(Ljava/lang/String;[Ljava/lang/Object;)V
iget-object v0, p0, Lcom/adjust/sdk/a;->ct:Lcom/adjust/sdk/at;
iput-object v1, v0, Lcom/adjust/sdk/at;->partnerParameters:Ljava/util/Map;
:goto_3
iget-object v0, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v0, v0, Lcom/adjust/sdk/AdjustConfig;->dq:Ljava/lang/Boolean;
if-eqz v0, :cond_1
iget-object v0, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v0, v0, Lcom/adjust/sdk/AdjustConfig;->do:Ljava/util/List;
if-nez v0, :cond_0
iget-object v0, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
new-instance v1, Ljava/util/ArrayList;
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
iput-object v1, v0, Lcom/adjust/sdk/AdjustConfig;->do:Ljava/util/List;
:cond_0
iget-object v0, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v0, v0, Lcom/adjust/sdk/AdjustConfig;->do:Ljava/util/List;
new-instance v1, Lcom/adjust/sdk/a$12;
invoke-direct {v1, p0}, Lcom/adjust/sdk/a$12;-><init>(Lcom/adjust/sdk/a;)V
invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
:cond_1
iget-object v0, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
if-eqz v0, :cond_2
iget-object v1, p0, Lcom/adjust/sdk/a;->cn:Lcom/adjust/sdk/a$a;
iget-boolean v0, v0, Lcom/adjust/sdk/d;->enabled:Z
iput-boolean v0, v1, Lcom/adjust/sdk/a$a;->enabled:Z
iget-object v0, p0, Lcom/adjust/sdk/a;->cn:Lcom/adjust/sdk/a$a;
iget-object v1, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
iget-boolean v1, v1, Lcom/adjust/sdk/d;->updatePackages:Z
iput-boolean v1, v0, Lcom/adjust/sdk/a$a;->updatePackages:Z
iget-object v0, p0, Lcom/adjust/sdk/a;->cn:Lcom/adjust/sdk/a$a;
iput-boolean v4, v0, Lcom/adjust/sdk/a$a;->cL:Z
goto :goto_4
:cond_2
iget-object v0, p0, Lcom/adjust/sdk/a;->cn:Lcom/adjust/sdk/a$a;
iput-boolean v3, v0, Lcom/adjust/sdk/a$a;->cL:Z
:goto_4
iget-object v0, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v0, v0, Lcom/adjust/sdk/AdjustConfig;->context:Landroid/content/Context;
:try_start_4
invoke-virtual {v0}, Landroid/content/Context;->getAssets()Landroid/content/res/AssetManager;
move-result-object v0
const-string v1, "adjust_config.properties"
invoke-virtual {v0, v1}, Landroid/content/res/AssetManager;->open(Ljava/lang/String;)Ljava/io/InputStream;
move-result-object v0
new-instance v1, Ljava/util/Properties;
invoke-direct {v1}, Ljava/util/Properties;-><init>()V
invoke-virtual {v1, v0}, Ljava/util/Properties;->load(Ljava/io/InputStream;)V
:try_end_4
.catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_4
iget-object v0, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
const-string v2, "adjust_config.properties file read and loaded"
new-array v5, v4, [Ljava/lang/Object;
invoke-interface {v0, v2, v5}, Lcom/adjust/sdk/x;->a(Ljava/lang/String;[Ljava/lang/Object;)V
const-string v0, "defaultTracker"
invoke-virtual {v1, v0}, Ljava/util/Properties;->getProperty(Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
if-eqz v0, :cond_3
iget-object v1, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iput-object v0, v1, Lcom/adjust/sdk/AdjustConfig;->dd:Ljava/lang/String;
goto :goto_5
:catch_4
move-exception v0
iget-object v1, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
const-string v2, "%s file not found in this app"
new-array v5, v3, [Ljava/lang/Object;
invoke-virtual {v0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
move-result-object v0
aput-object v0, v5, v4
invoke-interface {v1, v2, v5}, Lcom/adjust/sdk/x;->b(Ljava/lang/String;[Ljava/lang/Object;)V
:cond_3
:goto_5
new-instance v0, Lcom/adjust/sdk/t;
iget-object v1, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v1, v1, Lcom/adjust/sdk/AdjustConfig;->context:Landroid/content/Context;
iget-object v2, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v2, v2, Lcom/adjust/sdk/AdjustConfig;->db:Ljava/lang/String;
invoke-direct {v0, v1, v2}, Lcom/adjust/sdk/t;-><init>(Landroid/content/Context;Ljava/lang/String;)V
iput-object v0, p0, Lcom/adjust/sdk/a;->co:Lcom/adjust/sdk/t;
iget-object v0, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-boolean v0, v0, Lcom/adjust/sdk/AdjustConfig;->dc:Z
if-eqz v0, :cond_4
iget-object v0, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
const-string v1, "Event buffering is enabled"
new-array v2, v4, [Ljava/lang/Object;
invoke-interface {v0, v1, v2}, Lcom/adjust/sdk/x;->c(Ljava/lang/String;[Ljava/lang/Object;)V
:cond_4
iget-object v0, p0, Lcom/adjust/sdk/a;->co:Lcom/adjust/sdk/t;
iget-object v0, v0, Lcom/adjust/sdk/t;->ef:Ljava/lang/String;
if-nez v0, :cond_5
iget-object v0, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
const-string v1, "Unable to get Google Play Services Advertising ID at start time"
new-array v2, v4, [Ljava/lang/Object;
invoke-interface {v0, v1, v2}, Lcom/adjust/sdk/x;->d(Ljava/lang/String;[Ljava/lang/Object;)V
iget-object v0, p0, Lcom/adjust/sdk/a;->co:Lcom/adjust/sdk/t;
iget-object v0, v0, Lcom/adjust/sdk/t;->ei:Ljava/lang/String;
if-nez v0, :cond_6
iget-object v0, p0, Lcom/adjust/sdk/a;->co:Lcom/adjust/sdk/t;
iget-object v0, v0, Lcom/adjust/sdk/t;->ej:Ljava/lang/String;
if-nez v0, :cond_6
iget-object v0, p0, Lcom/adjust/sdk/a;->co:Lcom/adjust/sdk/t;
iget-object v0, v0, Lcom/adjust/sdk/t;->ek:Ljava/lang/String;
if-nez v0, :cond_6
iget-object v0, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
const-string v1, "Unable to get any device id\'s. Please check if Proguard is correctly set with Adjust SDK"
new-array v2, v4, [Ljava/lang/Object;
invoke-interface {v0, v1, v2}, Lcom/adjust/sdk/x;->f(Ljava/lang/String;[Ljava/lang/Object;)V
goto :goto_6
:cond_5
iget-object v0, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
const-string v1, "Google Play Services Advertising ID read correctly at start time"
new-array v2, v4, [Ljava/lang/Object;
invoke-interface {v0, v1, v2}, Lcom/adjust/sdk/x;->c(Ljava/lang/String;[Ljava/lang/Object;)V
:cond_6
:goto_6
iget-object v0, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v0, v0, Lcom/adjust/sdk/AdjustConfig;->dd:Ljava/lang/String;
if-eqz v0, :cond_7
iget-object v0, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
const-string v1, "Default tracker: \'%s\'"
new-array v2, v3, [Ljava/lang/Object;
iget-object v5, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v5, v5, Lcom/adjust/sdk/AdjustConfig;->dd:Ljava/lang/String;
aput-object v5, v2, v4
invoke-interface {v0, v1, v2}, Lcom/adjust/sdk/x;->c(Ljava/lang/String;[Ljava/lang/Object;)V
:cond_7
iget-object v0, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v0, v0, Lcom/adjust/sdk/AdjustConfig;->pushToken:Ljava/lang/String;
if-eqz v0, :cond_9
iget-object v0, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
const-string v1, "Push token: \'%s\'"
new-array v2, v3, [Ljava/lang/Object;
iget-object v5, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v5, v5, Lcom/adjust/sdk/AdjustConfig;->pushToken:Ljava/lang/String;
aput-object v5, v2, v4
invoke-interface {v0, v1, v2}, Lcom/adjust/sdk/x;->c(Ljava/lang/String;[Ljava/lang/Object;)V
iget-object v0, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
if-eqz v0, :cond_8
iget-object v0, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v0, v0, Lcom/adjust/sdk/AdjustConfig;->pushToken:Ljava/lang/String;
invoke-direct {p0, v0, v4}, Lcom/adjust/sdk/a;->a(Ljava/lang/String;Z)V
goto :goto_7
:cond_8
new-instance v0, Lcom/adjust/sdk/av;
iget-object v1, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v1, v1, Lcom/adjust/sdk/AdjustConfig;->context:Landroid/content/Context;
invoke-direct {v0, v1}, Lcom/adjust/sdk/av;-><init>(Landroid/content/Context;)V
iget-object v1, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v1, v1, Lcom/adjust/sdk/AdjustConfig;->pushToken:Ljava/lang/String;
invoke-virtual {v0, v1}, Lcom/adjust/sdk/av;->j(Ljava/lang/String;)V
goto :goto_7
:cond_9
iget-object v0, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
if-eqz v0, :cond_a
new-instance v0, Lcom/adjust/sdk/av;
iget-object v1, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v1, v1, Lcom/adjust/sdk/AdjustConfig;->context:Landroid/content/Context;
invoke-direct {v0, v1}, Lcom/adjust/sdk/av;-><init>(Landroid/content/Context;)V
invoke-virtual {v0}, Lcom/adjust/sdk/av;->getPushToken()Ljava/lang/String;
move-result-object v0
invoke-direct {p0, v0, v3}, Lcom/adjust/sdk/a;->a(Ljava/lang/String;Z)V
:cond_a
:goto_7
new-instance v0, Lcom/adjust/sdk/aw;
new-instance v6, Lcom/adjust/sdk/a$13;
invoke-direct {v6, p0}, Lcom/adjust/sdk/a$13;-><init>(Lcom/adjust/sdk/a;)V
sget-wide v7, Lcom/adjust/sdk/a;->cc:J
sget-wide v9, Lcom/adjust/sdk/a;->cb:J
const-string v11, "Foreground timer"
move-object v5, v0
invoke-direct/range {v5 .. v11}, Lcom/adjust/sdk/aw;-><init>(Ljava/lang/Runnable;JJLjava/lang/String;)V
iput-object v0, p0, Lcom/adjust/sdk/a;->ck:Lcom/adjust/sdk/aw;
iget-object v0, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-boolean v0, v0, Lcom/adjust/sdk/AdjustConfig;->dm:Z
if-eqz v0, :cond_b
iget-object v0, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
const-string v1, "Send in background configured"
new-array v2, v4, [Ljava/lang/Object;
invoke-interface {v0, v1, v2}, Lcom/adjust/sdk/x;->c(Ljava/lang/String;[Ljava/lang/Object;)V
new-instance v0, Lcom/adjust/sdk/ax;
new-instance v1, Lcom/adjust/sdk/a$14;
invoke-direct {v1, p0}, Lcom/adjust/sdk/a$14;-><init>(Lcom/adjust/sdk/a;)V
const-string v2, "Background timer"
invoke-direct {v0, v1, v2}, Lcom/adjust/sdk/ax;-><init>(Ljava/lang/Runnable;Ljava/lang/String;)V
iput-object v0, p0, Lcom/adjust/sdk/a;->cl:Lcom/adjust/sdk/ax;
:cond_b
iget-object v0, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
if-nez v0, :cond_c
iget-object v0, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v0, v0, Lcom/adjust/sdk/AdjustConfig;->dn:Ljava/lang/Double;
if-eqz v0, :cond_c
iget-object v0, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v0, v0, Lcom/adjust/sdk/AdjustConfig;->dn:Ljava/lang/Double;
invoke-virtual {v0}, Ljava/lang/Double;->doubleValue()D
move-result-wide v0
const-wide/16 v5, 0x0
cmpl-double v2, v0, v5
if-lez v2, :cond_c
iget-object v0, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
const-string v1, "Delay start configured"
new-array v2, v4, [Ljava/lang/Object;
invoke-interface {v0, v1, v2}, Lcom/adjust/sdk/x;->c(Ljava/lang/String;[Ljava/lang/Object;)V
iget-object v0, p0, Lcom/adjust/sdk/a;->cn:Lcom/adjust/sdk/a$a;
iput-boolean v3, v0, Lcom/adjust/sdk/a$a;->cK:Z
new-instance v0, Lcom/adjust/sdk/ax;
new-instance v1, Lcom/adjust/sdk/a$15;
invoke-direct {v1, p0}, Lcom/adjust/sdk/a$15;-><init>(Lcom/adjust/sdk/a;)V
const-string v2, "Delay Start timer"
invoke-direct {v0, v1, v2}, Lcom/adjust/sdk/ax;-><init>(Ljava/lang/Runnable;Ljava/lang/String;)V
iput-object v0, p0, Lcom/adjust/sdk/a;->cm:Lcom/adjust/sdk/ax;
:cond_c
iget-object v0, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v0, v0, Lcom/adjust/sdk/AdjustConfig;->dp:Ljava/lang/String;
sput-object v0, Lcom/adjust/sdk/az;->dp:Ljava/lang/String;
iget-object v0, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v0, v0, Lcom/adjust/sdk/AdjustConfig;->context:Landroid/content/Context;
invoke-virtual {p0, v4}, Lcom/adjust/sdk/a;->g(Z)Z
move-result v1
invoke-static {p0, v0, v1}, Lcom/adjust/sdk/j;->a(Lcom/adjust/sdk/v;Landroid/content/Context;Z)Lcom/adjust/sdk/y;
move-result-object v0
iput-object v0, p0, Lcom/adjust/sdk/a;->ch:Lcom/adjust/sdk/y;
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v10
new-instance v0, Lcom/adjust/sdk/al;
iget-object v6, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v7, p0, Lcom/adjust/sdk/a;->co:Lcom/adjust/sdk/t;
iget-object v8, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
iget-object v9, p0, Lcom/adjust/sdk/a;->ct:Lcom/adjust/sdk/at;
move-object v5, v0
invoke-direct/range {v5 .. v11}, Lcom/adjust/sdk/al;-><init>(Lcom/adjust/sdk/AdjustConfig;Lcom/adjust/sdk/t;Lcom/adjust/sdk/d;Lcom/adjust/sdk/at;J)V
invoke-virtual {v0}, Lcom/adjust/sdk/al;->as()Ljava/util/Map;
move-result-object v1
sget-object v2, Lcom/adjust/sdk/b;->cR:Lcom/adjust/sdk/b;
invoke-virtual {v0, v2}, Lcom/adjust/sdk/al;->a(Lcom/adjust/sdk/b;)Lcom/adjust/sdk/c;
move-result-object v0
const-string v2, "attribution"
iput-object v2, v0, Lcom/adjust/sdk/c;->path:Ljava/lang/String;
const-string v2, ""
iput-object v2, v0, Lcom/adjust/sdk/c;->suffix:Ljava/lang/String;
iput-object v1, v0, Lcom/adjust/sdk/c;->parameters:Ljava/util/Map;
invoke-virtual {p0, v4}, Lcom/adjust/sdk/a;->g(Z)Z
move-result v1
invoke-static {p0, v0, v1}, Lcom/adjust/sdk/j;->a(Lcom/adjust/sdk/v;Lcom/adjust/sdk/c;Z)Lcom/adjust/sdk/w;
move-result-object v0
iput-object v0, p0, Lcom/adjust/sdk/a;->cr:Lcom/adjust/sdk/w;
invoke-virtual {p0, v3}, Lcom/adjust/sdk/a;->g(Z)Z
move-result v0
invoke-static {p0, v0}, Lcom/adjust/sdk/j;->a(Lcom/adjust/sdk/v;Z)Lcom/adjust/sdk/ab;
move-result-object v0
iput-object v0, p0, Lcom/adjust/sdk/a;->cs:Lcom/adjust/sdk/ab;
invoke-direct {p0}, Lcom/adjust/sdk/a;->O()Z
move-result v0
if-eqz v0, :cond_d
invoke-direct {p0}, Lcom/adjust/sdk/a;->N()V
:cond_d
iget-object v0, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v0, v0, Lcom/adjust/sdk/AdjustConfig;->do:Ljava/util/List;
invoke-direct {p0, v0}, Lcom/adjust/sdk/a;->e(Ljava/util/List;)V
new-instance v0, Lcom/adjust/sdk/ac;
iget-object v1, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v1, v1, Lcom/adjust/sdk/AdjustConfig;->context:Landroid/content/Context;
invoke-direct {v0, v1, p0}, Lcom/adjust/sdk/ac;-><init>(Landroid/content/Context;Lcom/adjust/sdk/v;)V
iput-object v0, p0, Lcom/adjust/sdk/a;->cu:Lcom/adjust/sdk/ac;
invoke-direct {p0}, Lcom/adjust/sdk/a;->H()V
return-void
.end method
.method static synthetic a(Lcom/adjust/sdk/a;JJLjava/lang/String;)V
.locals 8
invoke-direct {p0}, Lcom/adjust/sdk/a;->F()Z
move-result v0
if-eqz v0, :cond_3
if-eqz p5, :cond_3
iget-object v0, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
iget-wide v0, v0, Lcom/adjust/sdk/d;->clickTime:J
cmp-long v2, p1, v0
if-nez v2, :cond_0
iget-object v0, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
iget-wide v0, v0, Lcom/adjust/sdk/d;->installBegin:J
cmp-long v2, p3, v0
if-nez v2, :cond_0
iget-object v0, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
iget-object v0, v0, Lcom/adjust/sdk/d;->installReferrer:Ljava/lang/String;
invoke-virtual {p5, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_3
:cond_0
iget-object v4, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
iget-object v2, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v3, p0, Lcom/adjust/sdk/a;->co:Lcom/adjust/sdk/t;
iget-object v5, p0, Lcom/adjust/sdk/a;->ct:Lcom/adjust/sdk/at;
if-eqz p5, :cond_2
invoke-virtual {p5}, Ljava/lang/String;->length()I
move-result v0
if-nez v0, :cond_1
goto :goto_0
:cond_1
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v6
new-instance v0, Lcom/adjust/sdk/al;
move-object v1, v0
invoke-direct/range {v1 .. v7}, Lcom/adjust/sdk/al;-><init>(Lcom/adjust/sdk/AdjustConfig;Lcom/adjust/sdk/t;Lcom/adjust/sdk/d;Lcom/adjust/sdk/at;J)V
iput-object p5, v0, Lcom/adjust/sdk/al;->fb:Ljava/lang/String;
iput-wide p1, v0, Lcom/adjust/sdk/al;->fe:J
iput-wide p3, v0, Lcom/adjust/sdk/al;->installBeginTimeInSeconds:J
const-string p1, "install_referrer"
invoke-virtual {v0, p1}, Lcom/adjust/sdk/al;->h(Ljava/lang/String;)Lcom/adjust/sdk/c;
move-result-object p1
goto :goto_1
:cond_2
:goto_0
const/4 p1, 0x0
:goto_1
iget-object p0, p0, Lcom/adjust/sdk/a;->cs:Lcom/adjust/sdk/ab;
invoke-interface {p0, p1}, Lcom/adjust/sdk/ab;->b(Lcom/adjust/sdk/c;)V
:cond_3
return-void
.end method
.method static synthetic a(Lcom/adjust/sdk/a;Lcom/adjust/sdk/as;)V
.locals 2
iget-object v0, p1, Lcom/adjust/sdk/as;->adid:Ljava/lang/String;
invoke-direct {p0, v0}, Lcom/adjust/sdk/a;->b(Ljava/lang/String;)V
new-instance v0, Landroid/os/Handler;
iget-object v1, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v1, v1, Lcom/adjust/sdk/AdjustConfig;->context:Landroid/content/Context;
invoke-virtual {v1}, Landroid/content/Context;->getMainLooper()Landroid/os/Looper;
move-result-object v1
invoke-direct {v0, v1}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V
iget-object p1, p1, Lcom/adjust/sdk/as;->cq:Lcom/adjust/sdk/f;
invoke-direct {p0, p1}, Lcom/adjust/sdk/a;->a(Lcom/adjust/sdk/f;)Z
move-result p1
if-eqz p1, :cond_0
invoke-direct {p0, v0}, Lcom/adjust/sdk/a;->a(Landroid/os/Handler;)V
:cond_0
return-void
.end method
.method static synthetic a(Lcom/adjust/sdk/a;Lcom/adjust/sdk/au;)V
.locals 4
iget-object v0, p1, Lcom/adjust/sdk/au;->adid:Ljava/lang/String;
invoke-direct {p0, v0}, Lcom/adjust/sdk/a;->b(Ljava/lang/String;)V
new-instance v0, Landroid/os/Handler;
iget-object v1, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v1, v1, Lcom/adjust/sdk/AdjustConfig;->context:Landroid/content/Context;
invoke-virtual {v1}, Landroid/content/Context;->getMainLooper()Landroid/os/Looper;
move-result-object v1
invoke-direct {v0, v1}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V
iget-object v1, p1, Lcom/adjust/sdk/au;->cq:Lcom/adjust/sdk/f;
invoke-direct {p0, v1}, Lcom/adjust/sdk/a;->a(Lcom/adjust/sdk/f;)Z
move-result v1
if-eqz v1, :cond_0
invoke-direct {p0, v0}, Lcom/adjust/sdk/a;->a(Landroid/os/Handler;)V
:cond_0
iget-boolean v1, p1, Lcom/adjust/sdk/au;->fp:Z
if-eqz v1, :cond_1
new-instance v1, Lcom/adjust/sdk/av;
iget-object v2, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v2, v2, Lcom/adjust/sdk/AdjustConfig;->context:Landroid/content/Context;
invoke-direct {v1, v2}, Lcom/adjust/sdk/av;-><init>(Landroid/content/Context;)V
invoke-virtual {v1}, Lcom/adjust/sdk/av;->aD()V
:cond_1
iget-boolean v1, p1, Lcom/adjust/sdk/au;->fp:Z
const/4 v2, 0x0
if-eqz v1, :cond_2
iget-object v1, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v1, v1, Lcom/adjust/sdk/AdjustConfig;->dj:Lcom/adjust/sdk/ak;
if-eqz v1, :cond_2
iget-object v1, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
const-string v3, "Launching success session tracking listener"
new-array v2, v2, [Ljava/lang/Object;
invoke-interface {v1, v3, v2}, Lcom/adjust/sdk/x;->b(Ljava/lang/String;[Ljava/lang/Object;)V
new-instance v1, Lcom/adjust/sdk/a$19;
invoke-direct {v1, p0, p1}, Lcom/adjust/sdk/a$19;-><init>(Lcom/adjust/sdk/a;Lcom/adjust/sdk/au;)V
invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
goto :goto_0
:cond_2
iget-boolean v1, p1, Lcom/adjust/sdk/au;->fp:Z
if-nez v1, :cond_3
iget-object v1, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v1, v1, Lcom/adjust/sdk/AdjustConfig;->dk:Lcom/adjust/sdk/aj;
if-eqz v1, :cond_3
iget-object v1, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
const-string v3, "Launching failed session tracking listener"
new-array v2, v2, [Ljava/lang/Object;
invoke-interface {v1, v3, v2}, Lcom/adjust/sdk/x;->b(Ljava/lang/String;[Ljava/lang/Object;)V
new-instance v1, Lcom/adjust/sdk/a$20;
invoke-direct {v1, p0, p1}, Lcom/adjust/sdk/a$20;-><init>(Lcom/adjust/sdk/a;Lcom/adjust/sdk/au;)V
invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
:cond_3
:goto_0
iget-object p0, p0, Lcom/adjust/sdk/a;->cn:Lcom/adjust/sdk/a$a;
const/4 p1, 0x1
iput-boolean p1, p0, Lcom/adjust/sdk/a$a;->cM:Z
return-void
.end method
.method static synthetic a(Lcom/adjust/sdk/a;Lcom/adjust/sdk/g;)V
.locals 10
iget-object v0, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
invoke-direct {p0, v0}, Lcom/adjust/sdk/a;->a(Lcom/adjust/sdk/d;)Z
move-result v0
if-eqz v0, :cond_a
invoke-direct {p0}, Lcom/adjust/sdk/a;->F()Z
move-result v0
if-eqz v0, :cond_a
const/4 v0, 0x1
const/4 v1, 0x0
if-nez p1, :cond_0
iget-object v2, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
const-string v3, "Event missing"
new-array v4, v1, [Ljava/lang/Object;
invoke-interface {v2, v3, v4}, Lcom/adjust/sdk/x;->f(Ljava/lang/String;[Ljava/lang/Object;)V
const/4 v2, 0x0
goto :goto_1
:cond_0
iget-object v2, p1, Lcom/adjust/sdk/g;->dv:Ljava/lang/String;
if-eqz v2, :cond_1
const/4 v2, 0x1
goto :goto_0
:cond_1
const/4 v2, 0x0
:goto_0
if-nez v2, :cond_2
iget-object v2, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
const-string v3, "Event not initialized correctly"
new-array v4, v1, [Ljava/lang/Object;
invoke-interface {v2, v3, v4}, Lcom/adjust/sdk/x;->f(Ljava/lang/String;[Ljava/lang/Object;)V
const/4 v2, 0x0
goto :goto_1
:cond_2
const/4 v2, 0x1
:goto_1
if-eqz v2, :cond_a
iget-object v2, p1, Lcom/adjust/sdk/g;->dy:Ljava/lang/String;
if-eqz v2, :cond_5
invoke-virtual {v2}, Ljava/lang/String;->isEmpty()Z
move-result v3
if-eqz v3, :cond_3
goto :goto_2
:cond_3
iget-object v3, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
invoke-virtual {v3, v2}, Lcom/adjust/sdk/d;->d(Ljava/lang/String;)Z
move-result v3
if-eqz v3, :cond_4
iget-object v3, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
const-string v4, "Skipping duplicated order ID \'%s\'"
new-array v5, v0, [Ljava/lang/Object;
aput-object v2, v5, v1
invoke-interface {v3, v4, v5}, Lcom/adjust/sdk/x;->c(Ljava/lang/String;[Ljava/lang/Object;)V
const/4 v2, 0x0
goto :goto_3
:cond_4
iget-object v3, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
invoke-virtual {v3, v2}, Lcom/adjust/sdk/d;->c(Ljava/lang/String;)V
iget-object v3, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
const-string v4, "Added order ID \'%s\'"
new-array v5, v0, [Ljava/lang/Object;
aput-object v2, v5, v1
invoke-interface {v3, v4, v5}, Lcom/adjust/sdk/x;->a(Ljava/lang/String;[Ljava/lang/Object;)V
const/4 v2, 0x1
goto :goto_3
:cond_5
:goto_2
const/4 v2, 0x1
:goto_3
if-eqz v2, :cond_a
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v8
iget-object v2, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
iget v3, v2, Lcom/adjust/sdk/d;->eventCount:I
add-int/2addr v3, v0
iput v3, v2, Lcom/adjust/sdk/d;->eventCount:I
invoke-direct {p0, v8, v9}, Lcom/adjust/sdk/a;->c(J)Z
new-instance v2, Lcom/adjust/sdk/al;
iget-object v4, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v5, p0, Lcom/adjust/sdk/a;->co:Lcom/adjust/sdk/t;
iget-object v6, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
iget-object v7, p0, Lcom/adjust/sdk/a;->ct:Lcom/adjust/sdk/at;
move-object v3, v2
invoke-direct/range {v3 .. v9}, Lcom/adjust/sdk/al;-><init>(Lcom/adjust/sdk/AdjustConfig;Lcom/adjust/sdk/t;Lcom/adjust/sdk/d;Lcom/adjust/sdk/at;J)V
iget-object v3, p0, Lcom/adjust/sdk/a;->cn:Lcom/adjust/sdk/a$a;
iget-boolean v3, v3, Lcom/adjust/sdk/a$a;->cK:Z
invoke-virtual {v2}, Lcom/adjust/sdk/al;->ar()Ljava/util/Map;
move-result-object v4
const-string v5, "event_count"
iget-object v6, v2, Lcom/adjust/sdk/al;->eX:Lcom/adjust/sdk/al$a;
iget v6, v6, Lcom/adjust/sdk/al$a;->eventCount:I
int-to-long v6, v6
invoke-static {v4, v5, v6, v7}, Lcom/adjust/sdk/al;->a(Ljava/util/Map;Ljava/lang/String;J)V
const-string v5, "event_token"
iget-object v6, p1, Lcom/adjust/sdk/g;->dv:Ljava/lang/String;
invoke-static {v4, v5, v6}, Lcom/adjust/sdk/al;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
const-string v5, "revenue"
iget-object v6, p1, Lcom/adjust/sdk/g;->dw:Ljava/lang/Double;
invoke-static {v4, v5, v6}, Lcom/adjust/sdk/al;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/Double;)V
const-string v5, "currency"
iget-object v6, p1, Lcom/adjust/sdk/g;->dx:Ljava/lang/String;
invoke-static {v4, v5, v6}, Lcom/adjust/sdk/al;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
if-nez v3, :cond_6
const-string v5, "callback_params"
iget-object v6, v2, Lcom/adjust/sdk/al;->ct:Lcom/adjust/sdk/at;
iget-object v6, v6, Lcom/adjust/sdk/at;->callbackParameters:Ljava/util/Map;
iget-object v7, p1, Lcom/adjust/sdk/g;->callbackParameters:Ljava/util/Map;
const-string v8, "Callback"
invoke-static {v6, v7, v8}, Lcom/adjust/sdk/ay;->a(Ljava/util/Map;Ljava/util/Map;Ljava/lang/String;)Ljava/util/Map;
move-result-object v6
invoke-static {v4, v5, v6}, Lcom/adjust/sdk/al;->a(Ljava/util/Map;Ljava/lang/String;Ljava/util/Map;)V
const-string v5, "partner_params"
iget-object v6, v2, Lcom/adjust/sdk/al;->ct:Lcom/adjust/sdk/at;
iget-object v6, v6, Lcom/adjust/sdk/at;->partnerParameters:Ljava/util/Map;
iget-object v7, p1, Lcom/adjust/sdk/g;->partnerParameters:Ljava/util/Map;
const-string v8, "Partner"
invoke-static {v6, v7, v8}, Lcom/adjust/sdk/ay;->a(Ljava/util/Map;Ljava/util/Map;Ljava/lang/String;)Ljava/util/Map;
move-result-object v6
invoke-static {v4, v5, v6}, Lcom/adjust/sdk/al;->a(Ljava/util/Map;Ljava/lang/String;Ljava/util/Map;)V
:cond_6
sget-object v5, Lcom/adjust/sdk/b;->cP:Lcom/adjust/sdk/b;
invoke-virtual {v2, v5}, Lcom/adjust/sdk/al;->a(Lcom/adjust/sdk/b;)Lcom/adjust/sdk/c;
move-result-object v2
const-string v5, "/event"
iput-object v5, v2, Lcom/adjust/sdk/c;->path:Ljava/lang/String;
invoke-static {p1}, Lcom/adjust/sdk/al;->b(Lcom/adjust/sdk/g;)Ljava/lang/String;
move-result-object v5
iput-object v5, v2, Lcom/adjust/sdk/c;->suffix:Ljava/lang/String;
iput-object v4, v2, Lcom/adjust/sdk/c;->parameters:Ljava/util/Map;
if-eqz v3, :cond_7
iget-object v3, p1, Lcom/adjust/sdk/g;->callbackParameters:Ljava/util/Map;
iput-object v3, v2, Lcom/adjust/sdk/c;->callbackParameters:Ljava/util/Map;
iget-object p1, p1, Lcom/adjust/sdk/g;->partnerParameters:Ljava/util/Map;
iput-object p1, v2, Lcom/adjust/sdk/c;->partnerParameters:Ljava/util/Map;
:cond_7
iget-object p1, p0, Lcom/adjust/sdk/a;->ch:Lcom/adjust/sdk/y;
invoke-interface {p1, v2}, Lcom/adjust/sdk/y;->a(Lcom/adjust/sdk/c;)V
iget-object p1, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-boolean p1, p1, Lcom/adjust/sdk/AdjustConfig;->dc:Z
if-eqz p1, :cond_8
iget-object p1, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
const-string v3, "Buffered event %s"
new-array v0, v0, [Ljava/lang/Object;
iget-object v2, v2, Lcom/adjust/sdk/c;->suffix:Ljava/lang/String;
aput-object v2, v0, v1
invoke-interface {p1, v3, v0}, Lcom/adjust/sdk/x;->c(Ljava/lang/String;[Ljava/lang/Object;)V
goto :goto_4
:cond_8
iget-object p1, p0, Lcom/adjust/sdk/a;->ch:Lcom/adjust/sdk/y;
invoke-interface {p1}, Lcom/adjust/sdk/y;->aj()V
:goto_4
iget-object p1, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-boolean p1, p1, Lcom/adjust/sdk/AdjustConfig;->dm:Z
if-eqz p1, :cond_9
iget-object p1, p0, Lcom/adjust/sdk/a;->cn:Lcom/adjust/sdk/a$a;
iget-boolean p1, p1, Lcom/adjust/sdk/a$a;->cJ:Z
if-eqz p1, :cond_9
invoke-virtual {p0}, Lcom/adjust/sdk/a;->M()V
:cond_9
invoke-direct {p0}, Lcom/adjust/sdk/a;->P()V
:cond_a
return-void
.end method
.method static synthetic a(Lcom/adjust/sdk/a;Lcom/adjust/sdk/p;)V
.locals 5
iget-object v0, p1, Lcom/adjust/sdk/p;->adid:Ljava/lang/String;
invoke-direct {p0, v0}, Lcom/adjust/sdk/a;->b(Ljava/lang/String;)V
new-instance v0, Landroid/os/Handler;
iget-object v1, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v1, v1, Lcom/adjust/sdk/AdjustConfig;->context:Landroid/content/Context;
invoke-virtual {v1}, Landroid/content/Context;->getMainLooper()Landroid/os/Looper;
move-result-object v1
invoke-direct {v0, v1}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V
iget-object v1, p1, Lcom/adjust/sdk/p;->cq:Lcom/adjust/sdk/f;
invoke-direct {p0, v1}, Lcom/adjust/sdk/a;->a(Lcom/adjust/sdk/f;)Z
move-result v1
if-eqz v1, :cond_0
invoke-direct {p0, v0}, Lcom/adjust/sdk/a;->a(Landroid/os/Handler;)V
:cond_0
iget-object p1, p1, Lcom/adjust/sdk/p;->dS:Landroid/net/Uri;
if-eqz p1, :cond_2
iget-object v1, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
const-string v2, "Deferred deeplink received (%s)"
const/4 v3, 0x1
new-array v3, v3, [Ljava/lang/Object;
const/4 v4, 0x0
aput-object p1, v3, v4
invoke-interface {v1, v2, v3}, Lcom/adjust/sdk/x;->c(Ljava/lang/String;[Ljava/lang/Object;)V
iget-object v1, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v1, v1, Lcom/adjust/sdk/AdjustConfig;->dg:Ljava/lang/Class;
if-nez v1, :cond_1
new-instance v1, Landroid/content/Intent;
const-string v2, "android.intent.action.VIEW"
invoke-direct {v1, v2, p1}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V
goto :goto_0
:cond_1
new-instance v1, Landroid/content/Intent;
const-string v2, "android.intent.action.VIEW"
iget-object v3, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v3, v3, Lcom/adjust/sdk/AdjustConfig;->context:Landroid/content/Context;
iget-object v4, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v4, v4, Lcom/adjust/sdk/AdjustConfig;->dg:Ljava/lang/Class;
invoke-direct {v1, v2, p1, v3, v4}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;Landroid/content/Context;Ljava/lang/Class;)V
:goto_0
const/high16 v2, 0x10000000
invoke-virtual {v1, v2}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;
iget-object v2, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v2, v2, Lcom/adjust/sdk/AdjustConfig;->context:Landroid/content/Context;
invoke-virtual {v2}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
move-result-object v2
invoke-virtual {v1, v2}, Landroid/content/Intent;->setPackage(Ljava/lang/String;)Landroid/content/Intent;
new-instance v2, Lcom/adjust/sdk/a$22;
invoke-direct {v2, p0, p1, v1}, Lcom/adjust/sdk/a$22;-><init>(Lcom/adjust/sdk/a;Landroid/net/Uri;Landroid/content/Intent;)V
invoke-virtual {v0, v2}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
:cond_2
return-void
.end method
.method static synthetic a(Lcom/adjust/sdk/a;Lcom/adjust/sdk/u;)V
.locals 4
iget-object v0, p1, Lcom/adjust/sdk/u;->adid:Ljava/lang/String;
invoke-direct {p0, v0}, Lcom/adjust/sdk/a;->b(Ljava/lang/String;)V
new-instance v0, Landroid/os/Handler;
iget-object v1, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v1, v1, Lcom/adjust/sdk/AdjustConfig;->context:Landroid/content/Context;
invoke-virtual {v1}, Landroid/content/Context;->getMainLooper()Landroid/os/Looper;
move-result-object v1
invoke-direct {v0, v1}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V
iget-boolean v1, p1, Lcom/adjust/sdk/u;->fp:Z
const/4 v2, 0x0
if-eqz v1, :cond_0
iget-object v1, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v1, v1, Lcom/adjust/sdk/AdjustConfig;->dh:Lcom/adjust/sdk/ai;
if-eqz v1, :cond_0
iget-object v1, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
const-string v3, "Launching success event tracking listener"
new-array v2, v2, [Ljava/lang/Object;
invoke-interface {v1, v3, v2}, Lcom/adjust/sdk/x;->b(Ljava/lang/String;[Ljava/lang/Object;)V
new-instance v1, Lcom/adjust/sdk/a$16;
invoke-direct {v1, p0, p1}, Lcom/adjust/sdk/a$16;-><init>(Lcom/adjust/sdk/a;Lcom/adjust/sdk/u;)V
invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
return-void
:cond_0
iget-boolean v1, p1, Lcom/adjust/sdk/u;->fp:Z
if-nez v1, :cond_1
iget-object v1, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v1, v1, Lcom/adjust/sdk/AdjustConfig;->di:Lcom/adjust/sdk/ah;
if-eqz v1, :cond_1
iget-object v1, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
const-string v3, "Launching failed event tracking listener"
new-array v2, v2, [Ljava/lang/Object;
invoke-interface {v1, v3, v2}, Lcom/adjust/sdk/x;->b(Ljava/lang/String;[Ljava/lang/Object;)V
new-instance v1, Lcom/adjust/sdk/a$18;
invoke-direct {v1, p0, p1}, Lcom/adjust/sdk/a$18;-><init>(Lcom/adjust/sdk/a;Lcom/adjust/sdk/u;)V
invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
:cond_1
return-void
.end method
.method static synthetic a(Lcom/adjust/sdk/a;Ljava/lang/String;)V
.locals 8
iget-object v0, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
invoke-direct {p0, v0}, Lcom/adjust/sdk/a;->a(Lcom/adjust/sdk/d;)Z
move-result v0
if-eqz v0, :cond_1
invoke-direct {p0}, Lcom/adjust/sdk/a;->F()Z
move-result v0
if-eqz v0, :cond_1
if-eqz p1, :cond_1
iget-object v0, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
iget-object v0, v0, Lcom/adjust/sdk/d;->pushToken:Ljava/lang/String;
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_1
iget-object v0, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
iput-object p1, v0, Lcom/adjust/sdk/d;->pushToken:Ljava/lang/String;
invoke-direct {p0}, Lcom/adjust/sdk/a;->P()V
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v6
new-instance p1, Lcom/adjust/sdk/al;
iget-object v2, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v3, p0, Lcom/adjust/sdk/a;->co:Lcom/adjust/sdk/t;
iget-object v4, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
iget-object v5, p0, Lcom/adjust/sdk/a;->ct:Lcom/adjust/sdk/at;
move-object v1, p1
invoke-direct/range {v1 .. v7}, Lcom/adjust/sdk/al;-><init>(Lcom/adjust/sdk/AdjustConfig;Lcom/adjust/sdk/t;Lcom/adjust/sdk/d;Lcom/adjust/sdk/at;J)V
const-string v0, "push"
invoke-virtual {p1}, Lcom/adjust/sdk/al;->as()Ljava/util/Map;
move-result-object v1
const-string v2, "source"
invoke-static {v1, v2, v0}, Lcom/adjust/sdk/al;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
sget-object v0, Lcom/adjust/sdk/b;->cU:Lcom/adjust/sdk/b;
invoke-virtual {p1, v0}, Lcom/adjust/sdk/al;->a(Lcom/adjust/sdk/b;)Lcom/adjust/sdk/c;
move-result-object p1
const-string v0, "/sdk_info"
iput-object v0, p1, Lcom/adjust/sdk/c;->path:Ljava/lang/String;
const-string v0, ""
iput-object v0, p1, Lcom/adjust/sdk/c;->suffix:Ljava/lang/String;
iput-object v1, p1, Lcom/adjust/sdk/c;->parameters:Ljava/util/Map;
iget-object v0, p0, Lcom/adjust/sdk/a;->ch:Lcom/adjust/sdk/y;
invoke-interface {v0, p1}, Lcom/adjust/sdk/y;->a(Lcom/adjust/sdk/c;)V
new-instance v0, Lcom/adjust/sdk/av;
iget-object v1, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v1, v1, Lcom/adjust/sdk/AdjustConfig;->context:Landroid/content/Context;
invoke-direct {v0, v1}, Lcom/adjust/sdk/av;-><init>(Landroid/content/Context;)V
invoke-virtual {v0}, Lcom/adjust/sdk/av;->aC()V
iget-object v0, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-boolean v0, v0, Lcom/adjust/sdk/AdjustConfig;->dc:Z
if-eqz v0, :cond_0
iget-object p0, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
const-string v0, "Buffered event %s"
const/4 v1, 0x1
new-array v1, v1, [Ljava/lang/Object;
const/4 v2, 0x0
iget-object p1, p1, Lcom/adjust/sdk/c;->suffix:Ljava/lang/String;
aput-object p1, v1, v2
invoke-interface {p0, v0, v1}, Lcom/adjust/sdk/x;->c(Ljava/lang/String;[Ljava/lang/Object;)V
return-void
:cond_0
iget-object p0, p0, Lcom/adjust/sdk/a;->ch:Lcom/adjust/sdk/y;
invoke-interface {p0}, Lcom/adjust/sdk/y;->aj()V
:cond_1
return-void
.end method
.method static synthetic a(Lcom/adjust/sdk/a;Z)V
.locals 5
invoke-direct {p0}, Lcom/adjust/sdk/a;->F()Z
move-result v0
const-string v1, "Adjust already enabled"
const-string v2, "Adjust already disabled"
const/4 v3, 0x0
const/4 v4, 0x1
if-eq v0, p1, :cond_0
const/4 v3, 0x1
goto :goto_0
:cond_0
if-eqz v0, :cond_1
iget-object v0, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
new-array v2, v3, [Ljava/lang/Object;
invoke-interface {v0, v1, v2}, Lcom/adjust/sdk/x;->b(Ljava/lang/String;[Ljava/lang/Object;)V
goto :goto_0
:cond_1
iget-object v0, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
new-array v1, v3, [Ljava/lang/Object;
invoke-interface {v0, v2, v1}, Lcom/adjust/sdk/x;->b(Ljava/lang/String;[Ljava/lang/Object;)V
:goto_0
if-eqz v3, :cond_6
iget-object v0, p0, Lcom/adjust/sdk/a;->cn:Lcom/adjust/sdk/a$a;
iput-boolean p1, v0, Lcom/adjust/sdk/a$a;->enabled:Z
iget-object v0, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
if-nez v0, :cond_2
xor-int/2addr p1, v4
const-string v0, "Handlers will start as paused due to the SDK being disabled"
const-string v1, "Handlers will still start as paused"
const-string v2, "Handlers will start as active due to the SDK being enabled"
invoke-direct {p0, p1, v0, v1, v2}, Lcom/adjust/sdk/a;->a(ZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
return-void
:cond_2
if-eqz p1, :cond_5
new-instance v0, Lcom/adjust/sdk/av;
iget-object v1, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v1, v1, Lcom/adjust/sdk/AdjustConfig;->context:Landroid/content/Context;
invoke-direct {v0, v1}, Lcom/adjust/sdk/av;-><init>(Landroid/content/Context;)V
invoke-virtual {v0}, Lcom/adjust/sdk/av;->aE()Z
move-result v1
if-nez v1, :cond_3
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v1
invoke-direct {p0, v1, v2}, Lcom/adjust/sdk/a;->b(J)V
:cond_3
invoke-virtual {v0}, Lcom/adjust/sdk/av;->getPushToken()Ljava/lang/String;
move-result-object v1
if-eqz v1, :cond_4
iget-object v2, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
iget-object v2, v2, Lcom/adjust/sdk/d;->pushToken:Ljava/lang/String;
invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v2
if-nez v2, :cond_4
invoke-direct {p0, v1, v4}, Lcom/adjust/sdk/a;->a(Ljava/lang/String;Z)V
:cond_4
invoke-virtual {v0}, Lcom/adjust/sdk/av;->aA()Lorg/json/JSONArray;
invoke-virtual {p0}, Lcom/adjust/sdk/a;->G()V
:cond_5
iget-object v0, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
iput-boolean p1, v0, Lcom/adjust/sdk/d;->enabled:Z
invoke-direct {p0}, Lcom/adjust/sdk/a;->P()V
xor-int/2addr p1, v4
const-string v0, "Pausing handlers due to SDK being disabled"
const-string v1, "Handlers remain paused"
const-string v2, "Resuming handlers due to SDK being enabled"
invoke-direct {p0, p1, v0, v1, v2}, Lcom/adjust/sdk/a;->a(ZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
:cond_6
return-void
.end method
.method private a(Ljava/lang/String;Z)V
.locals 2
iget-object v0, p0, Lcom/adjust/sdk/a;->cg:Lcom/adjust/sdk/s;
new-instance v1, Lcom/adjust/sdk/a$9;
invoke-direct {v1, p0, p2, p1}, Lcom/adjust/sdk/a$9;-><init>(Lcom/adjust/sdk/a;ZLjava/lang/String;)V
invoke-virtual {v0, v1}, Lcom/adjust/sdk/s;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
return-void
.end method
.method private a(ZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
.locals 1
const/4 v0, 0x0
if-eqz p1, :cond_0
iget-object p1, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
new-array p3, v0, [Ljava/lang/Object;
invoke-interface {p1, p2, p3}, Lcom/adjust/sdk/x;->c(Ljava/lang/String;[Ljava/lang/Object;)V
goto :goto_0
:cond_0
invoke-direct {p0, v0}, Lcom/adjust/sdk/a;->f(Z)Z
move-result p1
if-eqz p1, :cond_2
const/4 p1, 0x1
invoke-direct {p0, p1}, Lcom/adjust/sdk/a;->f(Z)Z
move-result p1
if-eqz p1, :cond_1
iget-object p1, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
new-array p2, v0, [Ljava/lang/Object;
invoke-interface {p1, p3, p2}, Lcom/adjust/sdk/x;->c(Ljava/lang/String;[Ljava/lang/Object;)V
goto :goto_0
:cond_1
iget-object p1, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
new-instance p2, Ljava/lang/StringBuilder;
invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string p3, ", except the Sdk Click Handler"
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p2
new-array p3, v0, [Ljava/lang/Object;
invoke-interface {p1, p2, p3}, Lcom/adjust/sdk/x;->c(Ljava/lang/String;[Ljava/lang/Object;)V
goto :goto_0
:cond_2
iget-object p1, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
new-array p2, v0, [Ljava/lang/Object;
invoke-interface {p1, p4, p2}, Lcom/adjust/sdk/x;->c(Ljava/lang/String;[Ljava/lang/Object;)V
:goto_0
invoke-direct {p0}, Lcom/adjust/sdk/a;->I()V
return-void
.end method
.method private a(Lcom/adjust/sdk/d;)Z
.locals 3
if-nez p1, :cond_0
iget-object p1, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
const-string v0, "Missing activity state"
const/4 v1, 0x0
new-array v2, v1, [Ljava/lang/Object;
invoke-interface {p1, v0, v2}, Lcom/adjust/sdk/x;->f(Ljava/lang/String;[Ljava/lang/Object;)V
return v1
:cond_0
const/4 p1, 0x1
return p1
.end method
.method private a(Lcom/adjust/sdk/f;)Z
.locals 4
const/4 v0, 0x0
if-nez p1, :cond_0
return v0
:cond_0
iget-object v1, p0, Lcom/adjust/sdk/a;->cq:Lcom/adjust/sdk/f;
invoke-virtual {p1, v1}, Lcom/adjust/sdk/f;->equals(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_1
return v0
:cond_1
iput-object p1, p0, Lcom/adjust/sdk/a;->cq:Lcom/adjust/sdk/f;
const-class p1, Lcom/adjust/sdk/f;
monitor-enter p1
:try_start_0
iget-object v0, p0, Lcom/adjust/sdk/a;->cq:Lcom/adjust/sdk/f;
if-nez v0, :cond_2
monitor-exit p1
goto :goto_0
:cond_2
iget-object v0, p0, Lcom/adjust/sdk/a;->cq:Lcom/adjust/sdk/f;
iget-object v1, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v1, v1, Lcom/adjust/sdk/AdjustConfig;->context:Landroid/content/Context;
const-string v2, "AdjustAttribution"
const-string v3, "Attribution"
invoke-static {v0, v1, v2, v3}, Lcom/adjust/sdk/ay;->a(Ljava/lang/Object;Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V
monitor-exit p1
:goto_0
const/4 p1, 0x1
return p1
:catchall_0
move-exception v0
monitor-exit p1
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw v0
.end method
.method private b(J)V
.locals 4
iget-object v0, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
iget-wide v0, v0, Lcom/adjust/sdk/d;->lastActivity:J
sub-long v0, p1, v0
iget-object v2, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
iget v3, v2, Lcom/adjust/sdk/d;->sessionCount:I
add-int/lit8 v3, v3, 0x1
iput v3, v2, Lcom/adjust/sdk/d;->sessionCount:I
iget-object v2, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
iput-wide v0, v2, Lcom/adjust/sdk/d;->lastInterval:J
invoke-direct {p0, p1, p2}, Lcom/adjust/sdk/a;->d(J)V
iget-object v0, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
invoke-virtual {v0, p1, p2}, Lcom/adjust/sdk/d;->e(J)V
invoke-direct {p0}, Lcom/adjust/sdk/a;->P()V
return-void
.end method
.method static synthetic b(Lcom/adjust/sdk/a;)V
.locals 11
iget-object v0, p0, Lcom/adjust/sdk/a;->cn:Lcom/adjust/sdk/a$a;
invoke-virtual {v0}, Lcom/adjust/sdk/a$a;->R()Z
move-result v0
if-nez v0, :cond_2
invoke-direct {p0}, Lcom/adjust/sdk/a;->O()Z
move-result v0
if-nez v0, :cond_2
iget-object v0, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v0, v0, Lcom/adjust/sdk/AdjustConfig;->dn:Ljava/lang/Double;
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v0, v0, Lcom/adjust/sdk/AdjustConfig;->dn:Ljava/lang/Double;
invoke-virtual {v0}, Ljava/lang/Double;->doubleValue()D
move-result-wide v0
goto :goto_0
:cond_0
const-wide/16 v0, 0x0
:goto_0
invoke-static {}, Lcom/adjust/sdk/j;->ae()J
move-result-wide v2
const-wide v4, 0x408f400000000000L # 1000.0
mul-double v4, v4, v0
double-to-long v4, v4
const/4 v6, 0x0
const/4 v7, 0x1
cmp-long v8, v4, v2
if-lez v8, :cond_1
const-wide/16 v4, 0x3e8
div-long v4, v2, v4
long-to-double v4, v4
sget-object v8, Lcom/adjust/sdk/ay;->fB:Ljava/text/DecimalFormat;
invoke-virtual {v8, v0, v1}, Ljava/text/DecimalFormat;->format(D)Ljava/lang/String;
move-result-object v0
sget-object v1, Lcom/adjust/sdk/ay;->fB:Ljava/text/DecimalFormat;
invoke-virtual {v1, v4, v5}, Ljava/text/DecimalFormat;->format(D)Ljava/lang/String;
move-result-object v1
iget-object v8, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
const-string v9, "Delay start of %s seconds bigger than max allowed value of %s seconds"
const/4 v10, 0x2
new-array v10, v10, [Ljava/lang/Object;
aput-object v0, v10, v6
aput-object v1, v10, v7
invoke-interface {v8, v9, v10}, Lcom/adjust/sdk/x;->d(Ljava/lang/String;[Ljava/lang/Object;)V
move-wide v0, v4
goto :goto_1
:cond_1
move-wide v2, v4
:goto_1
sget-object v4, Lcom/adjust/sdk/ay;->fB:Ljava/text/DecimalFormat;
invoke-virtual {v4, v0, v1}, Ljava/text/DecimalFormat;->format(D)Ljava/lang/String;
move-result-object v0
iget-object v1, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
const-string v4, "Waiting %s seconds before starting first session"
new-array v5, v7, [Ljava/lang/Object;
aput-object v0, v5, v6
invoke-interface {v1, v4, v5}, Lcom/adjust/sdk/x;->c(Ljava/lang/String;[Ljava/lang/Object;)V
iget-object v0, p0, Lcom/adjust/sdk/a;->cm:Lcom/adjust/sdk/ax;
invoke-virtual {v0, v2, v3}, Lcom/adjust/sdk/ax;->g(J)V
iget-object v0, p0, Lcom/adjust/sdk/a;->cn:Lcom/adjust/sdk/a$a;
iput-boolean v7, v0, Lcom/adjust/sdk/a$a;->updatePackages:Z
iget-object v0, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
if-eqz v0, :cond_2
iput-boolean v7, v0, Lcom/adjust/sdk/d;->updatePackages:Z
invoke-direct {p0}, Lcom/adjust/sdk/a;->P()V
:cond_2
return-void
.end method
.method static synthetic b(Lcom/adjust/sdk/a;Z)V
.locals 1
iget-object v0, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
iput-boolean p1, v0, Lcom/adjust/sdk/d;->askingAttribution:Z
invoke-direct {p0}, Lcom/adjust/sdk/a;->P()V
return-void
.end method
.method private b(Ljava/lang/String;)V
.locals 1
if-nez p1, :cond_0
return-void
:cond_0
iget-object v0, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
iget-object v0, v0, Lcom/adjust/sdk/d;->adid:Ljava/lang/String;
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_1
return-void
:cond_1
iget-object v0, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
iput-object p1, v0, Lcom/adjust/sdk/d;->adid:Ljava/lang/String;
invoke-direct {p0}, Lcom/adjust/sdk/a;->P()V
return-void
.end method
.method static synthetic c(Lcom/adjust/sdk/a;)V
.locals 10
invoke-direct {p0}, Lcom/adjust/sdk/a;->F()Z
move-result v0
if-eqz v0, :cond_1
iget-object p0, p0, Lcom/adjust/sdk/a;->ck:Lcom/adjust/sdk/aw;
iget-boolean v0, p0, Lcom/adjust/sdk/aw;->fy:Z
const/4 v1, 0x1
const/4 v2, 0x0
if-nez v0, :cond_0
iget-object v0, p0, Lcom/adjust/sdk/aw;->cj:Lcom/adjust/sdk/x;
const-string v3, "%s is already started"
new-array v1, v1, [Ljava/lang/Object;
iget-object p0, p0, Lcom/adjust/sdk/aw;->name:Ljava/lang/String;
aput-object p0, v1, v2
invoke-interface {v0, v3, v1}, Lcom/adjust/sdk/x;->a(Ljava/lang/String;[Ljava/lang/Object;)V
return-void
:cond_0
iget-object v0, p0, Lcom/adjust/sdk/aw;->cj:Lcom/adjust/sdk/x;
const-string v3, "%s starting"
new-array v1, v1, [Ljava/lang/Object;
iget-object v4, p0, Lcom/adjust/sdk/aw;->name:Ljava/lang/String;
aput-object v4, v1, v2
invoke-interface {v0, v3, v1}, Lcom/adjust/sdk/x;->a(Ljava/lang/String;[Ljava/lang/Object;)V
iget-object v0, p0, Lcom/adjust/sdk/aw;->fu:Lcom/adjust/sdk/s;
new-instance v4, Lcom/adjust/sdk/aw$1;
invoke-direct {v4, p0}, Lcom/adjust/sdk/aw$1;-><init>(Lcom/adjust/sdk/aw;)V
iget-wide v5, p0, Lcom/adjust/sdk/aw;->initialDelay:J
iget-wide v7, p0, Lcom/adjust/sdk/aw;->fx:J
sget-object v9, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
iget-object v3, v0, Lcom/adjust/sdk/s;->dZ:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
invoke-virtual/range {v3 .. v9}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->scheduleWithFixedDelay(Ljava/lang/Runnable;JJLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture;
move-result-object v0
iput-object v0, p0, Lcom/adjust/sdk/aw;->fv:Ljava/util/concurrent/ScheduledFuture;
iput-boolean v2, p0, Lcom/adjust/sdk/aw;->fy:Z
:cond_1
return-void
.end method
.method private c(J)Z
.locals 6
iget-object v0, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
invoke-direct {p0, v0}, Lcom/adjust/sdk/a;->a(Lcom/adjust/sdk/d;)Z
move-result v0
const/4 v1, 0x0
if-nez v0, :cond_0
return v1
:cond_0
iget-object v0, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
iget-wide v2, v0, Lcom/adjust/sdk/d;->lastActivity:J
sub-long v2, p1, v2
sget-wide v4, Lcom/adjust/sdk/a;->ce:J
cmp-long v0, v2, v4
if-lez v0, :cond_1
return v1
:cond_1
iget-object v0, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
iput-wide p1, v0, Lcom/adjust/sdk/d;->lastActivity:J
const-wide/16 p1, 0x0
cmp-long v4, v2, p1
if-gez v4, :cond_2
iget-object p1, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
const-string p2, "Time travel!"
new-array v0, v1, [Ljava/lang/Object;
invoke-interface {p1, p2, v0}, Lcom/adjust/sdk/x;->f(Ljava/lang/String;[Ljava/lang/Object;)V
goto :goto_0
:cond_2
iget-wide p1, v0, Lcom/adjust/sdk/d;->sessionLength:J
add-long/2addr p1, v2
iput-wide p1, v0, Lcom/adjust/sdk/d;->sessionLength:J
iget-object p1, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
iget-wide v0, p1, Lcom/adjust/sdk/d;->timeSpent:J
add-long/2addr v0, v2
iput-wide v0, p1, Lcom/adjust/sdk/d;->timeSpent:J
:goto_0
const/4 p1, 0x1
return p1
.end method
.method private d(J)V
.locals 8
new-instance v7, Lcom/adjust/sdk/al;
iget-object v1, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v2, p0, Lcom/adjust/sdk/a;->co:Lcom/adjust/sdk/t;
iget-object v3, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
iget-object v4, p0, Lcom/adjust/sdk/a;->ct:Lcom/adjust/sdk/at;
move-object v0, v7
move-wide v5, p1
invoke-direct/range {v0 .. v6}, Lcom/adjust/sdk/al;-><init>(Lcom/adjust/sdk/AdjustConfig;Lcom/adjust/sdk/t;Lcom/adjust/sdk/d;Lcom/adjust/sdk/at;J)V
iget-object p1, p0, Lcom/adjust/sdk/a;->cn:Lcom/adjust/sdk/a$a;
iget-boolean p1, p1, Lcom/adjust/sdk/a$a;->cK:Z
invoke-virtual {v7, p1}, Lcom/adjust/sdk/al;->h(Z)Lcom/adjust/sdk/c;
move-result-object p1
iget-object p2, p0, Lcom/adjust/sdk/a;->ch:Lcom/adjust/sdk/y;
invoke-interface {p2, p1}, Lcom/adjust/sdk/y;->a(Lcom/adjust/sdk/c;)V
iget-object p1, p0, Lcom/adjust/sdk/a;->ch:Lcom/adjust/sdk/y;
invoke-interface {p1}, Lcom/adjust/sdk/y;->aj()V
return-void
.end method
.method static synthetic d(Lcom/adjust/sdk/a;)V
.locals 9
iget-object v0, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
if-eqz v0, :cond_0
iget-boolean v0, v0, Lcom/adjust/sdk/d;->enabled:Z
if-eqz v0, :cond_8
:cond_0
invoke-direct {p0}, Lcom/adjust/sdk/a;->I()V
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v0
iget-object v2, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
const/4 v3, 0x1
if-nez v2, :cond_2
new-instance v2, Lcom/adjust/sdk/d;
invoke-direct {v2}, Lcom/adjust/sdk/d;-><init>()V
iput-object v2, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
new-instance v2, Lcom/adjust/sdk/av;
iget-object v4, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v4, v4, Lcom/adjust/sdk/AdjustConfig;->context:Landroid/content/Context;
invoke-direct {v2, v4}, Lcom/adjust/sdk/av;-><init>(Landroid/content/Context;)V
iget-object v4, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
invoke-virtual {v2}, Lcom/adjust/sdk/av;->getPushToken()Ljava/lang/String;
move-result-object v5
iput-object v5, v4, Lcom/adjust/sdk/d;->pushToken:Ljava/lang/String;
iget-object v4, p0, Lcom/adjust/sdk/a;->cn:Lcom/adjust/sdk/a$a;
iget-boolean v4, v4, Lcom/adjust/sdk/a$a;->enabled:Z
if-eqz v4, :cond_1
iget-object v4, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
iput v3, v4, Lcom/adjust/sdk/d;->sessionCount:I
invoke-direct {p0, v0, v1}, Lcom/adjust/sdk/a;->d(J)V
:cond_1
iget-object v3, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
invoke-virtual {v3, v0, v1}, Lcom/adjust/sdk/d;->e(J)V
iget-object v0, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
iget-object v1, p0, Lcom/adjust/sdk/a;->cn:Lcom/adjust/sdk/a$a;
iget-boolean v1, v1, Lcom/adjust/sdk/a$a;->enabled:Z
iput-boolean v1, v0, Lcom/adjust/sdk/d;->enabled:Z
iget-object v0, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
iget-object v1, p0, Lcom/adjust/sdk/a;->cn:Lcom/adjust/sdk/a$a;
iget-boolean v1, v1, Lcom/adjust/sdk/a$a;->updatePackages:Z
iput-boolean v1, v0, Lcom/adjust/sdk/d;->updatePackages:Z
invoke-direct {p0}, Lcom/adjust/sdk/a;->P()V
invoke-virtual {v2}, Lcom/adjust/sdk/av;->aC()V
goto :goto_0
:cond_2
iget-wide v4, v2, Lcom/adjust/sdk/d;->lastActivity:J
sub-long v4, v0, v4
const-wide/16 v6, 0x0
const/4 v2, 0x0
cmp-long v8, v4, v6
if-gez v8, :cond_3
iget-object v3, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
const-string v4, "Time travel!"
new-array v2, v2, [Ljava/lang/Object;
invoke-interface {v3, v4, v2}, Lcom/adjust/sdk/x;->f(Ljava/lang/String;[Ljava/lang/Object;)V
iget-object v2, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
iput-wide v0, v2, Lcom/adjust/sdk/d;->lastActivity:J
invoke-direct {p0}, Lcom/adjust/sdk/a;->P()V
goto :goto_0
:cond_3
sget-wide v6, Lcom/adjust/sdk/a;->ce:J
cmp-long v8, v4, v6
if-lez v8, :cond_4
invoke-direct {p0, v0, v1}, Lcom/adjust/sdk/a;->b(J)V
goto :goto_0
:cond_4
sget-wide v6, Lcom/adjust/sdk/a;->cf:J
cmp-long v8, v4, v6
if-lez v8, :cond_5
iget-object v6, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
iget v7, v6, Lcom/adjust/sdk/d;->subsessionCount:I
add-int/2addr v7, v3
iput v7, v6, Lcom/adjust/sdk/d;->subsessionCount:I
iget-object v6, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
iget-wide v7, v6, Lcom/adjust/sdk/d;->sessionLength:J
add-long/2addr v7, v4
iput-wide v7, v6, Lcom/adjust/sdk/d;->sessionLength:J
iget-object v4, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
iput-wide v0, v4, Lcom/adjust/sdk/d;->lastActivity:J
iget-object v0, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
const-string v1, "Started subsession %d of session %d"
const/4 v5, 0x2
new-array v5, v5, [Ljava/lang/Object;
iget v4, v4, Lcom/adjust/sdk/d;->subsessionCount:I
invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v4
aput-object v4, v5, v2
iget-object v2, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
iget v2, v2, Lcom/adjust/sdk/d;->sessionCount:I
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
aput-object v2, v5, v3
invoke-interface {v0, v1, v5}, Lcom/adjust/sdk/x;->a(Ljava/lang/String;[Ljava/lang/Object;)V
invoke-direct {p0}, Lcom/adjust/sdk/a;->P()V
goto :goto_0
:cond_5
iget-object v0, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
const-string v1, "Time span since last activity too short for a new subsession"
new-array v2, v2, [Ljava/lang/Object;
invoke-interface {v0, v1, v2}, Lcom/adjust/sdk/x;->a(Ljava/lang/String;[Ljava/lang/Object;)V
:goto_0
iget-object v0, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
invoke-direct {p0, v0}, Lcom/adjust/sdk/a;->a(Lcom/adjust/sdk/d;)Z
move-result v0
if-eqz v0, :cond_8
iget-object v0, p0, Lcom/adjust/sdk/a;->cn:Lcom/adjust/sdk/a$a;
iget-boolean v0, v0, Lcom/adjust/sdk/a$a;->cL:Z
if-eqz v0, :cond_6
iget-object v0, p0, Lcom/adjust/sdk/a;->cn:Lcom/adjust/sdk/a$a;
invoke-virtual {v0}, Lcom/adjust/sdk/a$a;->S()Z
move-result v0
if-nez v0, :cond_8
:cond_6
iget-object v0, p0, Lcom/adjust/sdk/a;->cq:Lcom/adjust/sdk/f;
if-eqz v0, :cond_7
iget-object v0, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
iget-boolean v0, v0, Lcom/adjust/sdk/d;->askingAttribution:Z
if-eqz v0, :cond_8
:cond_7
iget-object p0, p0, Lcom/adjust/sdk/a;->cr:Lcom/adjust/sdk/w;
invoke-interface {p0}, Lcom/adjust/sdk/w;->af()V
:cond_8
return-void
.end method
.method static synthetic e(Lcom/adjust/sdk/a;)V
.locals 2
const/4 v0, 0x0
invoke-virtual {p0, v0}, Lcom/adjust/sdk/a;->g(Z)Z
move-result v0
if-nez v0, :cond_0
invoke-direct {p0}, Lcom/adjust/sdk/a;->J()V
:cond_0
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v0
invoke-direct {p0, v0, v1}, Lcom/adjust/sdk/a;->c(J)Z
move-result v0
if-eqz v0, :cond_1
invoke-direct {p0}, Lcom/adjust/sdk/a;->P()V
:cond_1
return-void
.end method
.method private e(Ljava/util/List;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"Lcom/adjust/sdk/aa;",
">;)V"
}
.end annotation
if-nez p1, :cond_0
return-void
:cond_0
invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object p1
:goto_0
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_1
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/adjust/sdk/aa;
invoke-interface {v0, p0}, Lcom/adjust/sdk/aa;->i(Lcom/adjust/sdk/a;)V
goto :goto_0
:cond_1
return-void
.end method
.method static synthetic f(Lcom/adjust/sdk/a;)V
.locals 0
invoke-direct {p0}, Lcom/adjust/sdk/a;->H()V
return-void
.end method
.method private f(Z)Z
.locals 2
const/4 v0, 0x0
const/4 v1, 0x1
if-eqz p1, :cond_2
iget-object p1, p0, Lcom/adjust/sdk/a;->cn:Lcom/adjust/sdk/a$a;
iget-boolean p1, p1, Lcom/adjust/sdk/a$a;->offline:Z
if-nez p1, :cond_1
invoke-direct {p0}, Lcom/adjust/sdk/a;->F()Z
move-result p1
if-nez p1, :cond_0
goto :goto_0
:cond_0
return v0
:cond_1
:goto_0
return v1
:cond_2
iget-object p1, p0, Lcom/adjust/sdk/a;->cn:Lcom/adjust/sdk/a$a;
iget-boolean p1, p1, Lcom/adjust/sdk/a$a;->offline:Z
if-nez p1, :cond_4
invoke-direct {p0}, Lcom/adjust/sdk/a;->F()Z
move-result p1
if-eqz p1, :cond_4
iget-object p1, p0, Lcom/adjust/sdk/a;->cn:Lcom/adjust/sdk/a$a;
iget-boolean p1, p1, Lcom/adjust/sdk/a$a;->cK:Z
if-eqz p1, :cond_3
goto :goto_1
:cond_3
return v0
:cond_4
:goto_1
return v1
.end method
.method static synthetic g(Lcom/adjust/sdk/a;)V
.locals 2
iget-object v0, p0, Lcom/adjust/sdk/a;->cn:Lcom/adjust/sdk/a$a;
invoke-virtual {v0}, Lcom/adjust/sdk/a$a;->R()Z
move-result v0
const/4 v1, 0x0
if-eqz v0, :cond_0
iget-object p0, p0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
const-string v0, "Start delay expired or never configured"
new-array v1, v1, [Ljava/lang/Object;
invoke-interface {p0, v0, v1}, Lcom/adjust/sdk/x;->c(Ljava/lang/String;[Ljava/lang/Object;)V
return-void
:cond_0
invoke-direct {p0}, Lcom/adjust/sdk/a;->N()V
iget-object v0, p0, Lcom/adjust/sdk/a;->cn:Lcom/adjust/sdk/a$a;
iput-boolean v1, v0, Lcom/adjust/sdk/a$a;->cK:Z
iget-object v0, p0, Lcom/adjust/sdk/a;->cm:Lcom/adjust/sdk/ax;
invoke-virtual {v0}, Lcom/adjust/sdk/ax;->aG()V
const/4 v0, 0x0
iput-object v0, p0, Lcom/adjust/sdk/a;->cm:Lcom/adjust/sdk/ax;
invoke-direct {p0}, Lcom/adjust/sdk/a;->I()V
return-void
.end method
.method static synthetic h(Lcom/adjust/sdk/a;)V
.locals 2
invoke-direct {p0}, Lcom/adjust/sdk/a;->F()Z
move-result v0
if-nez v0, :cond_0
invoke-virtual {p0}, Lcom/adjust/sdk/a;->L()V
return-void
:cond_0
const/4 v0, 0x0
invoke-virtual {p0, v0}, Lcom/adjust/sdk/a;->g(Z)Z
move-result v0
if-eqz v0, :cond_1
iget-object v0, p0, Lcom/adjust/sdk/a;->ch:Lcom/adjust/sdk/y;
invoke-interface {v0}, Lcom/adjust/sdk/y;->aj()V
:cond_1
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v0
invoke-direct {p0, v0, v1}, Lcom/adjust/sdk/a;->c(J)Z
move-result v0
if-eqz v0, :cond_2
invoke-direct {p0}, Lcom/adjust/sdk/a;->P()V
:cond_2
return-void
.end method
# virtual methods
.method public final B()Lcom/adjust/sdk/AdjustConfig;
.locals 1
iget-object v0, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
return-object v0
.end method
.method public final C()Lcom/adjust/sdk/t;
.locals 1
iget-object v0, p0, Lcom/adjust/sdk/a;->co:Lcom/adjust/sdk/t;
return-object v0
.end method
.method public final D()Lcom/adjust/sdk/d;
.locals 1
iget-object v0, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
return-object v0
.end method
.method public final E()Lcom/adjust/sdk/at;
.locals 1
iget-object v0, p0, Lcom/adjust/sdk/a;->ct:Lcom/adjust/sdk/at;
return-object v0
.end method
.method public final G()V
.locals 2
iget-object v0, p0, Lcom/adjust/sdk/a;->cg:Lcom/adjust/sdk/s;
new-instance v1, Lcom/adjust/sdk/a$25;
invoke-direct {v1, p0}, Lcom/adjust/sdk/a$25;-><init>(Lcom/adjust/sdk/a;)V
invoke-virtual {v0, v1}, Lcom/adjust/sdk/s;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
return-void
.end method
.method final L()V
.locals 8
iget-object v0, p0, Lcom/adjust/sdk/a;->ck:Lcom/adjust/sdk/aw;
iget-boolean v1, v0, Lcom/adjust/sdk/aw;->fy:Z
const/4 v2, 0x1
const/4 v3, 0x0
if-eqz v1, :cond_0
iget-object v1, v0, Lcom/adjust/sdk/aw;->cj:Lcom/adjust/sdk/x;
const-string v4, "%s is already suspended"
new-array v2, v2, [Ljava/lang/Object;
iget-object v0, v0, Lcom/adjust/sdk/aw;->name:Ljava/lang/String;
aput-object v0, v2, v3
invoke-interface {v1, v4, v2}, Lcom/adjust/sdk/x;->a(Ljava/lang/String;[Ljava/lang/Object;)V
return-void
:cond_0
iget-object v1, v0, Lcom/adjust/sdk/aw;->fv:Ljava/util/concurrent/ScheduledFuture;
sget-object v4, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invoke-interface {v1, v4}, Ljava/util/concurrent/ScheduledFuture;->getDelay(Ljava/util/concurrent/TimeUnit;)J
move-result-wide v4
iput-wide v4, v0, Lcom/adjust/sdk/aw;->initialDelay:J
iget-object v1, v0, Lcom/adjust/sdk/aw;->fv:Ljava/util/concurrent/ScheduledFuture;
invoke-interface {v1, v3}, Ljava/util/concurrent/ScheduledFuture;->cancel(Z)Z
sget-object v1, Lcom/adjust/sdk/ay;->fB:Ljava/text/DecimalFormat;
iget-wide v4, v0, Lcom/adjust/sdk/aw;->initialDelay:J
long-to-double v4, v4
const-wide v6, 0x408f400000000000L # 1000.0
invoke-static {v4, v5}, Ljava/lang/Double;->isNaN(D)Z
div-double/2addr v4, v6
invoke-virtual {v1, v4, v5}, Ljava/text/DecimalFormat;->format(D)Ljava/lang/String;
move-result-object v1
iget-object v4, v0, Lcom/adjust/sdk/aw;->cj:Lcom/adjust/sdk/x;
const-string v5, "%s suspended with %s seconds left"
const/4 v6, 0x2
new-array v6, v6, [Ljava/lang/Object;
iget-object v7, v0, Lcom/adjust/sdk/aw;->name:Ljava/lang/String;
aput-object v7, v6, v3
aput-object v1, v6, v2
invoke-interface {v4, v5, v6}, Lcom/adjust/sdk/x;->a(Ljava/lang/String;[Ljava/lang/Object;)V
iput-boolean v2, v0, Lcom/adjust/sdk/aw;->fy:Z
return-void
.end method
.method final M()V
.locals 5
iget-object v0, p0, Lcom/adjust/sdk/a;->cl:Lcom/adjust/sdk/ax;
if-nez v0, :cond_0
return-void
:cond_0
const/4 v0, 0x0
invoke-virtual {p0, v0}, Lcom/adjust/sdk/a;->g(Z)Z
move-result v0
if-nez v0, :cond_1
return-void
:cond_1
iget-object v0, p0, Lcom/adjust/sdk/a;->cl:Lcom/adjust/sdk/ax;
invoke-virtual {v0}, Lcom/adjust/sdk/ax;->aF()J
move-result-wide v0
const-wide/16 v2, 0x0
cmp-long v4, v0, v2
if-lez v4, :cond_2
return-void
:cond_2
iget-object v0, p0, Lcom/adjust/sdk/a;->cl:Lcom/adjust/sdk/ax;
sget-wide v1, Lcom/adjust/sdk/a;->cd:J
invoke-virtual {v0, v1, v2}, Lcom/adjust/sdk/ax;->g(J)V
return-void
.end method
.method public final a(JJLjava/lang/String;)V
.locals 9
iget-object v0, p0, Lcom/adjust/sdk/a;->cg:Lcom/adjust/sdk/s;
new-instance v8, Lcom/adjust/sdk/a$2;
move-object v1, v8
move-object v2, p0
move-wide v3, p1
move-wide v5, p3
move-object v7, p5
invoke-direct/range {v1 .. v7}, Lcom/adjust/sdk/a$2;-><init>(Lcom/adjust/sdk/a;JJLjava/lang/String;)V
invoke-virtual {v0, v8}, Lcom/adjust/sdk/s;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
return-void
.end method
.method public final a(Lcom/adjust/sdk/AdjustConfig;)V
.locals 0
iput-object p1, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
return-void
.end method
.method public final a(Lcom/adjust/sdk/aq;)V
.locals 3
instance-of v0, p1, Lcom/adjust/sdk/au;
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/adjust/sdk/a;->cr:Lcom/adjust/sdk/w;
check-cast p1, Lcom/adjust/sdk/au;
invoke-interface {v0, p1}, Lcom/adjust/sdk/w;->b(Lcom/adjust/sdk/au;)V
return-void
:cond_0
instance-of v0, p1, Lcom/adjust/sdk/as;
if-eqz v0, :cond_2
check-cast p1, Lcom/adjust/sdk/as;
iget-boolean v0, p1, Lcom/adjust/sdk/as;->ft:Z
if-eqz v0, :cond_1
iget-object v0, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
iget-wide v1, p1, Lcom/adjust/sdk/as;->clickTime:J
iput-wide v1, v0, Lcom/adjust/sdk/d;->clickTime:J
iget-object v0, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
iget-wide v1, p1, Lcom/adjust/sdk/as;->installBegin:J
iput-wide v1, v0, Lcom/adjust/sdk/d;->installBegin:J
iget-object v0, p0, Lcom/adjust/sdk/a;->ci:Lcom/adjust/sdk/d;
iget-object v1, p1, Lcom/adjust/sdk/as;->installReferrer:Ljava/lang/String;
iput-object v1, v0, Lcom/adjust/sdk/d;->installReferrer:Ljava/lang/String;
invoke-direct {p0}, Lcom/adjust/sdk/a;->P()V
:cond_1
iget-object v0, p0, Lcom/adjust/sdk/a;->cr:Lcom/adjust/sdk/w;
invoke-interface {v0, p1}, Lcom/adjust/sdk/w;->b(Lcom/adjust/sdk/as;)V
return-void
:cond_2
instance-of v0, p1, Lcom/adjust/sdk/u;
if-eqz v0, :cond_3
check-cast p1, Lcom/adjust/sdk/u;
iget-object v0, p0, Lcom/adjust/sdk/a;->cg:Lcom/adjust/sdk/s;
new-instance v1, Lcom/adjust/sdk/a$3;
invoke-direct {v1, p0, p1}, Lcom/adjust/sdk/a$3;-><init>(Lcom/adjust/sdk/a;Lcom/adjust/sdk/u;)V
invoke-virtual {v0, v1}, Lcom/adjust/sdk/s;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
return-void
:cond_3
return-void
.end method
.method public final a(Lcom/adjust/sdk/as;)V
.locals 2
iget-object v0, p0, Lcom/adjust/sdk/a;->cg:Lcom/adjust/sdk/s;
new-instance v1, Lcom/adjust/sdk/a$4;
invoke-direct {v1, p0, p1}, Lcom/adjust/sdk/a$4;-><init>(Lcom/adjust/sdk/a;Lcom/adjust/sdk/as;)V
invoke-virtual {v0, v1}, Lcom/adjust/sdk/s;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
return-void
.end method
.method public final a(Lcom/adjust/sdk/au;)V
.locals 2
iget-object v0, p0, Lcom/adjust/sdk/a;->cg:Lcom/adjust/sdk/s;
new-instance v1, Lcom/adjust/sdk/a$5;
invoke-direct {v1, p0, p1}, Lcom/adjust/sdk/a$5;-><init>(Lcom/adjust/sdk/a;Lcom/adjust/sdk/au;)V
invoke-virtual {v0, v1}, Lcom/adjust/sdk/s;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
return-void
.end method
.method public final a(Lcom/adjust/sdk/g;)V
.locals 2
iget-object v0, p0, Lcom/adjust/sdk/a;->cg:Lcom/adjust/sdk/s;
new-instance v1, Lcom/adjust/sdk/a$23;
invoke-direct {v1, p0, p1}, Lcom/adjust/sdk/a$23;-><init>(Lcom/adjust/sdk/a;Lcom/adjust/sdk/g;)V
invoke-virtual {v0, v1}, Lcom/adjust/sdk/s;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
return-void
.end method
.method public final a(Lcom/adjust/sdk/p;)V
.locals 2
iget-object v0, p0, Lcom/adjust/sdk/a;->cg:Lcom/adjust/sdk/s;
new-instance v1, Lcom/adjust/sdk/a$6;
invoke-direct {v1, p0, p1}, Lcom/adjust/sdk/a$6;-><init>(Lcom/adjust/sdk/a;Lcom/adjust/sdk/p;)V
invoke-virtual {v0, v1}, Lcom/adjust/sdk/s;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
return-void
.end method
.method public final e(Z)V
.locals 2
iget-object v0, p0, Lcom/adjust/sdk/a;->cg:Lcom/adjust/sdk/s;
new-instance v1, Lcom/adjust/sdk/a$24;
invoke-direct {v1, p0, p1}, Lcom/adjust/sdk/a$24;-><init>(Lcom/adjust/sdk/a;Z)V
invoke-virtual {v0, v1}, Lcom/adjust/sdk/s;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
return-void
.end method
.method g(Z)Z
.locals 0
invoke-direct {p0, p1}, Lcom/adjust/sdk/a;->f(Z)Z
move-result p1
if-eqz p1, :cond_0
const/4 p1, 0x0
return p1
:cond_0
iget-object p1, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-boolean p1, p1, Lcom/adjust/sdk/AdjustConfig;->dm:Z
if-eqz p1, :cond_1
const/4 p1, 0x1
return p1
:cond_1
iget-object p1, p0, Lcom/adjust/sdk/a;->cn:Lcom/adjust/sdk/a$a;
invoke-virtual {p1}, Lcom/adjust/sdk/a$a;->Q()Z
move-result p1
return p1
.end method
.method public final getContext()Landroid/content/Context;
.locals 1
iget-object v0, p0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v0, v0, Lcom/adjust/sdk/AdjustConfig;->context:Landroid/content/Context;
return-object v0
.end method
.method public final isEnabled()Z
.locals 1
invoke-direct {p0}, Lcom/adjust/sdk/a;->F()Z
move-result v0
return v0
.end method
.method public final onPause()V
.locals 2
iget-object v0, p0, Lcom/adjust/sdk/a;->cn:Lcom/adjust/sdk/a$a;
const/4 v1, 0x1
iput-boolean v1, v0, Lcom/adjust/sdk/a$a;->cJ:Z
iget-object v0, p0, Lcom/adjust/sdk/a;->cg:Lcom/adjust/sdk/s;
new-instance v1, Lcom/adjust/sdk/a$17;
invoke-direct {v1, p0}, Lcom/adjust/sdk/a$17;-><init>(Lcom/adjust/sdk/a;)V
invoke-virtual {v0, v1}, Lcom/adjust/sdk/s;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
return-void
.end method
.method public final onResume()V
.locals 2
iget-object v0, p0, Lcom/adjust/sdk/a;->cn:Lcom/adjust/sdk/a$a;
const/4 v1, 0x0
iput-boolean v1, v0, Lcom/adjust/sdk/a$a;->cJ:Z
iget-object v0, p0, Lcom/adjust/sdk/a;->cg:Lcom/adjust/sdk/s;
new-instance v1, Lcom/adjust/sdk/a$8;
invoke-direct {v1, p0}, Lcom/adjust/sdk/a$8;-><init>(Lcom/adjust/sdk/a;)V
invoke-virtual {v0, v1}, Lcom/adjust/sdk/s;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
return-void
.end method