apkfuckery/com.discord/smali/com/adjust/sdk/a.smali
2019-07-27 02:12:07 +02:00

3557 lines
86 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 bK:J
.field private static bL:J
.field private static bM:J
.field private static bN:J
.field private static bO:J
# instance fields
.field bP:Lcom/adjust/sdk/s;
.field bQ:Lcom/adjust/sdk/y;
.field bR:Lcom/adjust/sdk/d;
.field bS:Lcom/adjust/sdk/x;
.field private bT:Lcom/adjust/sdk/ax;
.field bU:Lcom/adjust/sdk/ay;
.field private bV:Lcom/adjust/sdk/ay;
.field private bW:Lcom/adjust/sdk/a$a;
.field private bX:Lcom/adjust/sdk/t;
.field bY:Lcom/adjust/sdk/f;
.field bZ:Lcom/adjust/sdk/AdjustAttribution;
.field private ca:Lcom/adjust/sdk/w;
.field private cb:Lcom/adjust/sdk/ab;
.field private cc:Lcom/adjust/sdk/au;
.field private cd:Lcom/adjust/sdk/ac;
# direct methods
.method constructor <init>(Lcom/adjust/sdk/f;)V
.locals 4
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
invoke-static {}, Lcom/adjust/sdk/j;->X()Lcom/adjust/sdk/x;
move-result-object v0
iput-object v0, p0, Lcom/adjust/sdk/a;->bS:Lcom/adjust/sdk/x;
iget-object v0, p0, Lcom/adjust/sdk/a;->bS:Lcom/adjust/sdk/x;
invoke-interface {v0}, Lcom/adjust/sdk/x;->ai()V
new-instance v0, Lcom/adjust/sdk/s;
const/4 v1, 0x0
const-string v2, "ActivityHandler"
invoke-direct {v0, v2, v1}, Lcom/adjust/sdk/s;-><init>(Ljava/lang/String;Z)V
iput-object v0, p0, Lcom/adjust/sdk/a;->bP: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;->bW:Lcom/adjust/sdk/a$a;
iget-object v0, p0, Lcom/adjust/sdk/a;->bW:Lcom/adjust/sdk/a$a;
iget-object v2, p1, Lcom/adjust/sdk/f;->cZ:Ljava/lang/Boolean;
const/4 v3, 0x1
if-eqz v2, :cond_0
iget-object v2, p1, Lcom/adjust/sdk/f;->cZ:Ljava/lang/Boolean;
invoke-virtual {v2}, Ljava/lang/Boolean;->booleanValue()Z
move-result v2
goto :goto_0
:cond_0
const/4 v2, 0x1
:goto_0
iput-boolean v2, v0, Lcom/adjust/sdk/a$a;->enabled:Z
iget-object v0, p0, Lcom/adjust/sdk/a;->bW:Lcom/adjust/sdk/a$a;
iget-boolean p1, p1, Lcom/adjust/sdk/f;->da:Z
iput-boolean p1, v0, Lcom/adjust/sdk/a$a;->offline:Z
iget-object p1, p0, Lcom/adjust/sdk/a;->bW:Lcom/adjust/sdk/a$a;
iput-boolean v3, p1, Lcom/adjust/sdk/a$a;->cs:Z
iput-boolean v1, p1, Lcom/adjust/sdk/a$a;->ct:Z
iput-boolean v1, p1, Lcom/adjust/sdk/a$a;->updatePackages:Z
iput-boolean v1, p1, Lcom/adjust/sdk/a$a;->cv:Z
iget-object p1, p0, Lcom/adjust/sdk/a;->bP: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;->bR: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;->bW: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;->cb: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;->bW:Lcom/adjust/sdk/a$a;
iget-boolean v0, v0, Lcom/adjust/sdk/a$a;->cu:Z
if-eqz v0, :cond_1
iget-object v0, p0, Lcom/adjust/sdk/a;->bW: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;->bQ:Lcom/adjust/sdk/y;
invoke-interface {v0}, Lcom/adjust/sdk/y;->aj()V
:cond_1
iget-object v0, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-boolean v0, v0, Lcom/adjust/sdk/f;->cL:Z
if-nez v0, :cond_2
iget-object v0, p0, Lcom/adjust/sdk/a;->bQ: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;->ca:Lcom/adjust/sdk/w;
invoke-interface {v0}, Lcom/adjust/sdk/w;->ag()V
iget-object v0, p0, Lcom/adjust/sdk/a;->bQ: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;->cb: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;->cb: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;->ca:Lcom/adjust/sdk/w;
invoke-interface {v0}, Lcom/adjust/sdk/w;->ah()V
iget-object v0, p0, Lcom/adjust/sdk/a;->bQ:Lcom/adjust/sdk/y;
invoke-interface {v0}, Lcom/adjust/sdk/y;->ah()V
iget-object v0, p0, Lcom/adjust/sdk/a;->cb: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;->bQ:Lcom/adjust/sdk/y;
iget-object v1, p0, Lcom/adjust/sdk/a;->cc:Lcom/adjust/sdk/au;
invoke-interface {v0, v1}, Lcom/adjust/sdk/y;->a(Lcom/adjust/sdk/au;)V
iget-object v0, p0, Lcom/adjust/sdk/a;->bW: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;->bR: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;->bR: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;->bW: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;->bR:Lcom/adjust/sdk/d;
if-nez v1, :cond_0
monitor-exit v0
return-void
:cond_0
iget-object v1, p0, Lcom/adjust/sdk/a;->bR:Lcom/adjust/sdk/d;
iget-object v2, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v2, v2, Lcom/adjust/sdk/f;->context:Landroid/content/Context;
const-string v3, "AdjustIoActivityState"
const-string v4, "Activity state"
invoke-static {v1, v2, v3, v4}, Lcom/adjust/sdk/az;->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;->bY:Lcom/adjust/sdk/f;
iget-object v0, v0, Lcom/adjust/sdk/f;->cN: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
const-string v0, "Session Partner parameters"
const-string v1, "Session Callback parameters"
const-string v2, "Activity state"
const-string v3, "Attribution"
const-string v4, "Failed to read %s file (%s)"
invoke-static {}, Lcom/adjust/sdk/j;->aa()J
move-result-wide v5
sput-wide v5, Lcom/adjust/sdk/a;->bN:J
invoke-static {}, Lcom/adjust/sdk/j;->ab()J
move-result-wide v5
sput-wide v5, Lcom/adjust/sdk/a;->bO:J
invoke-static {}, Lcom/adjust/sdk/j;->Y()J
move-result-wide v5
sput-wide v5, Lcom/adjust/sdk/a;->bK:J
invoke-static {}, Lcom/adjust/sdk/j;->Z()J
move-result-wide v5
sput-wide v5, Lcom/adjust/sdk/a;->bL:J
invoke-static {}, Lcom/adjust/sdk/j;->Y()J
move-result-wide v5
sput-wide v5, Lcom/adjust/sdk/a;->bM:J
iget-object v5, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v5, v5, Lcom/adjust/sdk/f;->context:Landroid/content/Context;
const/4 v6, 0x0
const/4 v7, 0x2
const/4 v8, 0x1
const/4 v9, 0x0
:try_start_0
const-string v10, "AdjustAttribution"
const-class v11, Lcom/adjust/sdk/AdjustAttribution;
invoke-static {v5, v10, v3, v11}, Lcom/adjust/sdk/az;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
move-result-object v5
check-cast v5, Lcom/adjust/sdk/AdjustAttribution;
iput-object v5, p0, Lcom/adjust/sdk/a;->bZ:Lcom/adjust/sdk/AdjustAttribution;
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v5
iget-object v10, p0, Lcom/adjust/sdk/a;->bS:Lcom/adjust/sdk/x;
new-array v11, v7, [Ljava/lang/Object;
aput-object v3, v11, v9
invoke-virtual {v5}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
move-result-object v3
aput-object v3, v11, v8
invoke-interface {v10, v4, v11}, Lcom/adjust/sdk/x;->f(Ljava/lang/String;[Ljava/lang/Object;)V
iput-object v6, p0, Lcom/adjust/sdk/a;->bZ:Lcom/adjust/sdk/AdjustAttribution;
:goto_0
iget-object v3, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v3, v3, Lcom/adjust/sdk/f;->context:Landroid/content/Context;
:try_start_1
const-string v5, "AdjustIoActivityState"
const-class v10, Lcom/adjust/sdk/d;
invoke-static {v3, v5, v2, v10}, Lcom/adjust/sdk/az;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
move-result-object v3
check-cast v3, Lcom/adjust/sdk/d;
iput-object v3, p0, Lcom/adjust/sdk/a;->bR: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 v3
iget-object v5, p0, Lcom/adjust/sdk/a;->bS:Lcom/adjust/sdk/x;
new-array v10, v7, [Ljava/lang/Object;
aput-object v2, v10, v9
invoke-virtual {v3}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
move-result-object v2
aput-object v2, v10, v8
invoke-interface {v5, v4, v10}, Lcom/adjust/sdk/x;->f(Ljava/lang/String;[Ljava/lang/Object;)V
iput-object v6, p0, Lcom/adjust/sdk/a;->bR:Lcom/adjust/sdk/d;
:goto_1
new-instance v2, Lcom/adjust/sdk/au;
invoke-direct {v2}, Lcom/adjust/sdk/au;-><init>()V
iput-object v2, p0, Lcom/adjust/sdk/a;->cc:Lcom/adjust/sdk/au;
iget-object v2, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v2, v2, Lcom/adjust/sdk/f;->context:Landroid/content/Context;
:try_start_2
iget-object v3, p0, Lcom/adjust/sdk/a;->cc:Lcom/adjust/sdk/au;
const-string v5, "AdjustSessionCallbackParameters"
const-class v10, Ljava/util/Map;
invoke-static {v2, v5, v1, v10}, Lcom/adjust/sdk/az;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
move-result-object v2
check-cast v2, Ljava/util/Map;
iput-object v2, v3, Lcom/adjust/sdk/au;->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 v2
iget-object v3, p0, Lcom/adjust/sdk/a;->bS:Lcom/adjust/sdk/x;
new-array v5, v7, [Ljava/lang/Object;
aput-object v1, v5, v9
invoke-virtual {v2}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
move-result-object v1
aput-object v1, v5, v8
invoke-interface {v3, v4, v5}, Lcom/adjust/sdk/x;->f(Ljava/lang/String;[Ljava/lang/Object;)V
iget-object v1, p0, Lcom/adjust/sdk/a;->cc:Lcom/adjust/sdk/au;
iput-object v6, v1, Lcom/adjust/sdk/au;->callbackParameters:Ljava/util/Map;
:goto_2
iget-object v1, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v1, v1, Lcom/adjust/sdk/f;->context:Landroid/content/Context;
:try_start_3
iget-object v2, p0, Lcom/adjust/sdk/a;->cc:Lcom/adjust/sdk/au;
const-string v3, "AdjustSessionPartnerParameters"
const-class v5, Ljava/util/Map;
invoke-static {v1, v3, v0, v5}, Lcom/adjust/sdk/az;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/util/Map;
iput-object v1, v2, Lcom/adjust/sdk/au;->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 v1
iget-object v2, p0, Lcom/adjust/sdk/a;->bS:Lcom/adjust/sdk/x;
new-array v3, v7, [Ljava/lang/Object;
aput-object v0, v3, v9
invoke-virtual {v1}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
move-result-object v0
aput-object v0, v3, v8
invoke-interface {v2, v4, v3}, Lcom/adjust/sdk/x;->f(Ljava/lang/String;[Ljava/lang/Object;)V
iget-object v0, p0, Lcom/adjust/sdk/a;->cc:Lcom/adjust/sdk/au;
iput-object v6, v0, Lcom/adjust/sdk/au;->partnerParameters:Ljava/util/Map;
:goto_3
iget-object v0, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v0, v0, Lcom/adjust/sdk/f;->cZ:Ljava/lang/Boolean;
if-eqz v0, :cond_1
iget-object v0, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v0, v0, Lcom/adjust/sdk/f;->cX:Ljava/util/List;
if-nez v0, :cond_0
iget-object v0, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
new-instance v1, Ljava/util/ArrayList;
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
iput-object v1, v0, Lcom/adjust/sdk/f;->cX:Ljava/util/List;
:cond_0
iget-object v0, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v0, v0, Lcom/adjust/sdk/f;->cX: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;->bR:Lcom/adjust/sdk/d;
if-eqz v0, :cond_2
iget-object v1, p0, Lcom/adjust/sdk/a;->bW: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;->bW:Lcom/adjust/sdk/a$a;
iget-object v1, p0, Lcom/adjust/sdk/a;->bR: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;->bW:Lcom/adjust/sdk/a$a;
iput-boolean v9, v0, Lcom/adjust/sdk/a$a;->cu:Z
goto :goto_4
:cond_2
iget-object v0, p0, Lcom/adjust/sdk/a;->bW:Lcom/adjust/sdk/a$a;
iput-boolean v8, v0, Lcom/adjust/sdk/a$a;->cu:Z
:goto_4
iget-object v0, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v0, v0, Lcom/adjust/sdk/f;->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;->bS:Lcom/adjust/sdk/x;
new-array v2, v9, [Ljava/lang/Object;
const-string v3, "adjust_config.properties file read and loaded"
invoke-interface {v0, v3, v2}, 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;->bY:Lcom/adjust/sdk/f;
iput-object v0, v1, Lcom/adjust/sdk/f;->cM:Ljava/lang/String;
goto :goto_5
:catch_4
move-exception v0
iget-object v1, p0, Lcom/adjust/sdk/a;->bS:Lcom/adjust/sdk/x;
new-array v2, v8, [Ljava/lang/Object;
invoke-virtual {v0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
move-result-object v0
aput-object v0, v2, v9
const-string v0, "%s file not found in this app"
invoke-interface {v1, v0, v2}, 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;->bY:Lcom/adjust/sdk/f;
iget-object v1, v1, Lcom/adjust/sdk/f;->context:Landroid/content/Context;
iget-object v2, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v2, v2, Lcom/adjust/sdk/f;->cK: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;->bX:Lcom/adjust/sdk/t;
iget-object v0, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-boolean v0, v0, Lcom/adjust/sdk/f;->cL:Z
if-eqz v0, :cond_4
iget-object v0, p0, Lcom/adjust/sdk/a;->bS:Lcom/adjust/sdk/x;
new-array v1, v9, [Ljava/lang/Object;
const-string v2, "Event buffering is enabled"
invoke-interface {v0, v2, v1}, Lcom/adjust/sdk/x;->c(Ljava/lang/String;[Ljava/lang/Object;)V
:cond_4
iget-object v0, p0, Lcom/adjust/sdk/a;->bX:Lcom/adjust/sdk/t;
iget-object v0, v0, Lcom/adjust/sdk/t;->dN:Ljava/lang/String;
if-nez v0, :cond_5
iget-object v0, p0, Lcom/adjust/sdk/a;->bS:Lcom/adjust/sdk/x;
new-array v1, v9, [Ljava/lang/Object;
const-string v2, "Unable to get Google Play Services Advertising ID at start time"
invoke-interface {v0, v2, v1}, Lcom/adjust/sdk/x;->d(Ljava/lang/String;[Ljava/lang/Object;)V
iget-object v0, p0, Lcom/adjust/sdk/a;->bX:Lcom/adjust/sdk/t;
iget-object v0, v0, Lcom/adjust/sdk/t;->dQ:Ljava/lang/String;
if-nez v0, :cond_6
iget-object v0, p0, Lcom/adjust/sdk/a;->bX:Lcom/adjust/sdk/t;
iget-object v0, v0, Lcom/adjust/sdk/t;->dR:Ljava/lang/String;
if-nez v0, :cond_6
iget-object v0, p0, Lcom/adjust/sdk/a;->bX:Lcom/adjust/sdk/t;
iget-object v0, v0, Lcom/adjust/sdk/t;->dS:Ljava/lang/String;
if-nez v0, :cond_6
iget-object v0, p0, Lcom/adjust/sdk/a;->bS:Lcom/adjust/sdk/x;
new-array v1, v9, [Ljava/lang/Object;
const-string v2, "Unable to get any device id\'s. Please check if Proguard is correctly set with Adjust SDK"
invoke-interface {v0, v2, v1}, 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;->bS:Lcom/adjust/sdk/x;
new-array v1, v9, [Ljava/lang/Object;
const-string v2, "Google Play Services Advertising ID read correctly at start time"
invoke-interface {v0, v2, v1}, Lcom/adjust/sdk/x;->c(Ljava/lang/String;[Ljava/lang/Object;)V
:cond_6
:goto_6
iget-object v0, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v0, v0, Lcom/adjust/sdk/f;->cM:Ljava/lang/String;
if-eqz v0, :cond_7
iget-object v0, p0, Lcom/adjust/sdk/a;->bS:Lcom/adjust/sdk/x;
new-array v1, v8, [Ljava/lang/Object;
iget-object v2, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v2, v2, Lcom/adjust/sdk/f;->cM:Ljava/lang/String;
aput-object v2, v1, v9
const-string v2, "Default tracker: \'%s\'"
invoke-interface {v0, v2, v1}, Lcom/adjust/sdk/x;->c(Ljava/lang/String;[Ljava/lang/Object;)V
:cond_7
iget-object v0, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v0, v0, Lcom/adjust/sdk/f;->pushToken:Ljava/lang/String;
if-eqz v0, :cond_9
iget-object v0, p0, Lcom/adjust/sdk/a;->bS:Lcom/adjust/sdk/x;
new-array v1, v8, [Ljava/lang/Object;
iget-object v2, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v2, v2, Lcom/adjust/sdk/f;->pushToken:Ljava/lang/String;
aput-object v2, v1, v9
const-string v2, "Push token: \'%s\'"
invoke-interface {v0, v2, v1}, Lcom/adjust/sdk/x;->c(Ljava/lang/String;[Ljava/lang/Object;)V
iget-object v0, p0, Lcom/adjust/sdk/a;->bR:Lcom/adjust/sdk/d;
if-eqz v0, :cond_8
iget-object v0, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v0, v0, Lcom/adjust/sdk/f;->pushToken:Ljava/lang/String;
invoke-direct {p0, v0, v9}, Lcom/adjust/sdk/a;->a(Ljava/lang/String;Z)V
goto :goto_7
:cond_8
new-instance v0, Lcom/adjust/sdk/aw;
iget-object v1, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v1, v1, Lcom/adjust/sdk/f;->context:Landroid/content/Context;
invoke-direct {v0, v1}, Lcom/adjust/sdk/aw;-><init>(Landroid/content/Context;)V
iget-object v1, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v1, v1, Lcom/adjust/sdk/f;->pushToken:Ljava/lang/String;
invoke-virtual {v0, v1}, Lcom/adjust/sdk/aw;->j(Ljava/lang/String;)V
goto :goto_7
:cond_9
iget-object v0, p0, Lcom/adjust/sdk/a;->bR:Lcom/adjust/sdk/d;
if-eqz v0, :cond_a
new-instance v0, Lcom/adjust/sdk/aw;
iget-object v1, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v1, v1, Lcom/adjust/sdk/f;->context:Landroid/content/Context;
invoke-direct {v0, v1}, Lcom/adjust/sdk/aw;-><init>(Landroid/content/Context;)V
invoke-virtual {v0}, Lcom/adjust/sdk/aw;->getPushToken()Ljava/lang/String;
move-result-object v0
invoke-direct {p0, v0, v8}, Lcom/adjust/sdk/a;->a(Ljava/lang/String;Z)V
:cond_a
:goto_7
new-instance v0, Lcom/adjust/sdk/ax;
new-instance v2, Lcom/adjust/sdk/a$13;
invoke-direct {v2, p0}, Lcom/adjust/sdk/a$13;-><init>(Lcom/adjust/sdk/a;)V
sget-wide v3, Lcom/adjust/sdk/a;->bL:J
sget-wide v5, Lcom/adjust/sdk/a;->bK:J
const-string v7, "Foreground timer"
move-object v1, v0
invoke-direct/range {v1 .. v7}, Lcom/adjust/sdk/ax;-><init>(Ljava/lang/Runnable;JJLjava/lang/String;)V
iput-object v0, p0, Lcom/adjust/sdk/a;->bT:Lcom/adjust/sdk/ax;
iget-object v0, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-boolean v0, v0, Lcom/adjust/sdk/f;->cV:Z
if-eqz v0, :cond_b
iget-object v0, p0, Lcom/adjust/sdk/a;->bS:Lcom/adjust/sdk/x;
new-array v1, v9, [Ljava/lang/Object;
const-string v2, "Send in background configured"
invoke-interface {v0, v2, v1}, Lcom/adjust/sdk/x;->c(Ljava/lang/String;[Ljava/lang/Object;)V
new-instance v0, Lcom/adjust/sdk/ay;
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/ay;-><init>(Ljava/lang/Runnable;Ljava/lang/String;)V
iput-object v0, p0, Lcom/adjust/sdk/a;->bU:Lcom/adjust/sdk/ay;
:cond_b
iget-object v0, p0, Lcom/adjust/sdk/a;->bR:Lcom/adjust/sdk/d;
if-nez v0, :cond_c
iget-object v0, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v0, v0, Lcom/adjust/sdk/f;->cW:Ljava/lang/Double;
if-eqz v0, :cond_c
iget-object v0, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v0, v0, Lcom/adjust/sdk/f;->cW:Ljava/lang/Double;
invoke-virtual {v0}, Ljava/lang/Double;->doubleValue()D
move-result-wide v0
const-wide/16 v2, 0x0
cmpl-double v4, v0, v2
if-lez v4, :cond_c
iget-object v0, p0, Lcom/adjust/sdk/a;->bS:Lcom/adjust/sdk/x;
new-array v1, v9, [Ljava/lang/Object;
const-string v2, "Delay start configured"
invoke-interface {v0, v2, v1}, Lcom/adjust/sdk/x;->c(Ljava/lang/String;[Ljava/lang/Object;)V
iget-object v0, p0, Lcom/adjust/sdk/a;->bW:Lcom/adjust/sdk/a$a;
iput-boolean v8, v0, Lcom/adjust/sdk/a$a;->ct:Z
new-instance v0, Lcom/adjust/sdk/ay;
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/ay;-><init>(Ljava/lang/Runnable;Ljava/lang/String;)V
iput-object v0, p0, Lcom/adjust/sdk/a;->bV:Lcom/adjust/sdk/ay;
:cond_c
iget-object v0, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v0, v0, Lcom/adjust/sdk/f;->cY:Ljava/lang/String;
sput-object v0, Lcom/adjust/sdk/ba;->cY:Ljava/lang/String;
iget-object v0, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v0, v0, Lcom/adjust/sdk/f;->context:Landroid/content/Context;
invoke-virtual {p0, v9}, 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;->bQ:Lcom/adjust/sdk/y;
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v6
new-instance v0, Lcom/adjust/sdk/am;
iget-object v2, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v3, p0, Lcom/adjust/sdk/a;->bX:Lcom/adjust/sdk/t;
iget-object v4, p0, Lcom/adjust/sdk/a;->bR:Lcom/adjust/sdk/d;
iget-object v5, p0, Lcom/adjust/sdk/a;->cc:Lcom/adjust/sdk/au;
move-object v1, v0
invoke-direct/range {v1 .. v7}, Lcom/adjust/sdk/am;-><init>(Lcom/adjust/sdk/f;Lcom/adjust/sdk/t;Lcom/adjust/sdk/d;Lcom/adjust/sdk/au;J)V
invoke-virtual {v0}, Lcom/adjust/sdk/am;->as()Ljava/util/Map;
move-result-object v1
sget-object v2, Lcom/adjust/sdk/b;->cA:Lcom/adjust/sdk/b;
invoke-virtual {v0, v2}, Lcom/adjust/sdk/am;->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, v9}, 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;->ca:Lcom/adjust/sdk/w;
invoke-virtual {p0, v8}, 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;->cb: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;->bY:Lcom/adjust/sdk/f;
iget-object v0, v0, Lcom/adjust/sdk/f;->cX: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;->bY:Lcom/adjust/sdk/f;
iget-object v1, v1, Lcom/adjust/sdk/f;->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;->cd: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;->bR: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;->bR: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;->bR: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;->bR:Lcom/adjust/sdk/d;
iget-object v2, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v3, p0, Lcom/adjust/sdk/a;->bX:Lcom/adjust/sdk/t;
iget-object v5, p0, Lcom/adjust/sdk/a;->cc:Lcom/adjust/sdk/au;
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/am;
move-object v1, v0
invoke-direct/range {v1 .. v7}, Lcom/adjust/sdk/am;-><init>(Lcom/adjust/sdk/f;Lcom/adjust/sdk/t;Lcom/adjust/sdk/d;Lcom/adjust/sdk/au;J)V
iput-object p5, v0, Lcom/adjust/sdk/am;->eI:Ljava/lang/String;
iput-wide p1, v0, Lcom/adjust/sdk/am;->eL:J
iput-wide p3, v0, Lcom/adjust/sdk/am;->installBeginTimeInSeconds:J
const-string p1, "install_referrer"
invoke-virtual {v0, p1}, Lcom/adjust/sdk/am;->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;->cb: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/at;)V
.locals 2
iget-object v0, p1, Lcom/adjust/sdk/at;->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;->bY:Lcom/adjust/sdk/f;
iget-object v1, v1, Lcom/adjust/sdk/f;->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/at;->bZ:Lcom/adjust/sdk/AdjustAttribution;
invoke-direct {p0, p1}, Lcom/adjust/sdk/a;->a(Lcom/adjust/sdk/AdjustAttribution;)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/av;)V
.locals 4
iget-object v0, p1, Lcom/adjust/sdk/av;->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;->bY:Lcom/adjust/sdk/f;
iget-object v1, v1, Lcom/adjust/sdk/f;->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/av;->bZ:Lcom/adjust/sdk/AdjustAttribution;
invoke-direct {p0, v1}, Lcom/adjust/sdk/a;->a(Lcom/adjust/sdk/AdjustAttribution;)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/av;->eW:Z
if-eqz v1, :cond_1
new-instance v1, Lcom/adjust/sdk/aw;
iget-object v2, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v2, v2, Lcom/adjust/sdk/f;->context:Landroid/content/Context;
invoke-direct {v1, v2}, Lcom/adjust/sdk/aw;-><init>(Landroid/content/Context;)V
invoke-virtual {v1}, Lcom/adjust/sdk/aw;->aD()V
:cond_1
iget-boolean v1, p1, Lcom/adjust/sdk/av;->eW:Z
const/4 v2, 0x0
if-eqz v1, :cond_2
iget-object v1, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v1, v1, Lcom/adjust/sdk/f;->cS:Lcom/adjust/sdk/al;
if-eqz v1, :cond_2
iget-object v1, p0, Lcom/adjust/sdk/a;->bS:Lcom/adjust/sdk/x;
new-array v2, v2, [Ljava/lang/Object;
const-string v3, "Launching success session tracking listener"
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/av;)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/av;->eW:Z
if-nez v1, :cond_3
iget-object v1, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v1, v1, Lcom/adjust/sdk/f;->cT:Lcom/adjust/sdk/ak;
if-eqz v1, :cond_3
iget-object v1, p0, Lcom/adjust/sdk/a;->bS:Lcom/adjust/sdk/x;
new-array v2, v2, [Ljava/lang/Object;
const-string v3, "Launching failed session tracking listener"
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/av;)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;->bW:Lcom/adjust/sdk/a$a;
const/4 p1, 0x1
iput-boolean p1, p0, Lcom/adjust/sdk/a$a;->cv: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;->bR: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;->bS:Lcom/adjust/sdk/x;
new-array v3, v1, [Ljava/lang/Object;
const-string v4, "Event missing"
invoke-interface {v2, v4, v3}, Lcom/adjust/sdk/x;->f(Ljava/lang/String;[Ljava/lang/Object;)V
:goto_0
const/4 v2, 0x0
goto :goto_2
:cond_0
iget-object v2, p1, Lcom/adjust/sdk/g;->de:Ljava/lang/String;
if-eqz v2, :cond_1
const/4 v2, 0x1
goto :goto_1
:cond_1
const/4 v2, 0x0
:goto_1
if-nez v2, :cond_2
iget-object v2, p0, Lcom/adjust/sdk/a;->bS:Lcom/adjust/sdk/x;
new-array v3, v1, [Ljava/lang/Object;
const-string v4, "Event not initialized correctly"
invoke-interface {v2, v4, v3}, Lcom/adjust/sdk/x;->f(Ljava/lang/String;[Ljava/lang/Object;)V
goto :goto_0
:cond_2
const/4 v2, 0x1
:goto_2
if-eqz v2, :cond_a
iget-object v2, p1, Lcom/adjust/sdk/g;->dg: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_3
:cond_3
iget-object v3, p0, Lcom/adjust/sdk/a;->bR: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;->bS:Lcom/adjust/sdk/x;
new-array v4, v0, [Ljava/lang/Object;
aput-object v2, v4, v1
const-string v2, "Skipping duplicated order ID \'%s\'"
invoke-interface {v3, v2, v4}, Lcom/adjust/sdk/x;->c(Ljava/lang/String;[Ljava/lang/Object;)V
const/4 v2, 0x0
goto :goto_4
:cond_4
iget-object v3, p0, Lcom/adjust/sdk/a;->bR: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;->bS:Lcom/adjust/sdk/x;
new-array v4, v0, [Ljava/lang/Object;
aput-object v2, v4, v1
const-string v2, "Added order ID \'%s\'"
invoke-interface {v3, v2, v4}, Lcom/adjust/sdk/x;->a(Ljava/lang/String;[Ljava/lang/Object;)V
:cond_5
:goto_3
const/4 v2, 0x1
:goto_4
if-eqz v2, :cond_a
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v8
iget-object v2, p0, Lcom/adjust/sdk/a;->bR: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/am;
iget-object v4, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v5, p0, Lcom/adjust/sdk/a;->bX:Lcom/adjust/sdk/t;
iget-object v6, p0, Lcom/adjust/sdk/a;->bR:Lcom/adjust/sdk/d;
iget-object v7, p0, Lcom/adjust/sdk/a;->cc:Lcom/adjust/sdk/au;
move-object v3, v2
invoke-direct/range {v3 .. v9}, Lcom/adjust/sdk/am;-><init>(Lcom/adjust/sdk/f;Lcom/adjust/sdk/t;Lcom/adjust/sdk/d;Lcom/adjust/sdk/au;J)V
iget-object v3, p0, Lcom/adjust/sdk/a;->bW:Lcom/adjust/sdk/a$a;
iget-boolean v3, v3, Lcom/adjust/sdk/a$a;->ct:Z
invoke-virtual {v2}, Lcom/adjust/sdk/am;->ar()Ljava/util/Map;
move-result-object v4
iget-object v5, v2, Lcom/adjust/sdk/am;->eE:Lcom/adjust/sdk/am$a;
iget v5, v5, Lcom/adjust/sdk/am$a;->eventCount:I
int-to-long v5, v5
const-string v7, "event_count"
invoke-static {v4, v7, v5, v6}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;J)V
iget-object v5, p1, Lcom/adjust/sdk/g;->de:Ljava/lang/String;
const-string v6, "event_token"
invoke-static {v4, v6, v5}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object v5, p1, Lcom/adjust/sdk/g;->df:Ljava/lang/Double;
const-string v6, "revenue"
invoke-static {v4, v6, v5}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/Double;)V
iget-object v5, p1, Lcom/adjust/sdk/g;->currency:Ljava/lang/String;
const-string v6, "currency"
invoke-static {v4, v6, v5}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
if-nez v3, :cond_6
iget-object v5, v2, Lcom/adjust/sdk/am;->cc:Lcom/adjust/sdk/au;
iget-object v5, v5, Lcom/adjust/sdk/au;->callbackParameters:Ljava/util/Map;
iget-object v6, p1, Lcom/adjust/sdk/g;->callbackParameters:Ljava/util/Map;
const-string v7, "Callback"
invoke-static {v5, v6, v7}, Lcom/adjust/sdk/az;->a(Ljava/util/Map;Ljava/util/Map;Ljava/lang/String;)Ljava/util/Map;
move-result-object v5
const-string v6, "callback_params"
invoke-static {v4, v6, v5}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/util/Map;)V
iget-object v5, v2, Lcom/adjust/sdk/am;->cc:Lcom/adjust/sdk/au;
iget-object v5, v5, Lcom/adjust/sdk/au;->partnerParameters:Ljava/util/Map;
iget-object v6, p1, Lcom/adjust/sdk/g;->partnerParameters:Ljava/util/Map;
const-string v7, "Partner"
invoke-static {v5, v6, v7}, Lcom/adjust/sdk/az;->a(Ljava/util/Map;Ljava/util/Map;Ljava/lang/String;)Ljava/util/Map;
move-result-object v5
const-string v6, "partner_params"
invoke-static {v4, v6, v5}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/util/Map;)V
:cond_6
sget-object v5, Lcom/adjust/sdk/b;->cy:Lcom/adjust/sdk/b;
invoke-virtual {v2, v5}, Lcom/adjust/sdk/am;->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/am;->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;->bQ: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;->bY:Lcom/adjust/sdk/f;
iget-boolean p1, p1, Lcom/adjust/sdk/f;->cL:Z
if-eqz p1, :cond_8
iget-object p1, p0, Lcom/adjust/sdk/a;->bS:Lcom/adjust/sdk/x;
new-array v0, v0, [Ljava/lang/Object;
iget-object v2, v2, Lcom/adjust/sdk/c;->suffix:Ljava/lang/String;
aput-object v2, v0, v1
const-string v1, "Buffered event %s"
invoke-interface {p1, v1, v0}, Lcom/adjust/sdk/x;->c(Ljava/lang/String;[Ljava/lang/Object;)V
goto :goto_5
:cond_8
iget-object p1, p0, Lcom/adjust/sdk/a;->bQ:Lcom/adjust/sdk/y;
invoke-interface {p1}, Lcom/adjust/sdk/y;->aj()V
:goto_5
iget-object p1, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-boolean p1, p1, Lcom/adjust/sdk/f;->cV:Z
if-eqz p1, :cond_9
iget-object p1, p0, Lcom/adjust/sdk/a;->bW:Lcom/adjust/sdk/a$a;
iget-boolean p1, p1, Lcom/adjust/sdk/a$a;->cs: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;->bY:Lcom/adjust/sdk/f;
iget-object v1, v1, Lcom/adjust/sdk/f;->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;->bZ:Lcom/adjust/sdk/AdjustAttribution;
invoke-direct {p0, v1}, Lcom/adjust/sdk/a;->a(Lcom/adjust/sdk/AdjustAttribution;)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;->dA:Landroid/net/Uri;
if-eqz p1, :cond_2
iget-object v1, p0, Lcom/adjust/sdk/a;->bS:Lcom/adjust/sdk/x;
const/4 v2, 0x1
new-array v2, v2, [Ljava/lang/Object;
const/4 v3, 0x0
aput-object p1, v2, v3
const-string v3, "Deferred deeplink received (%s)"
invoke-interface {v1, v3, v2}, Lcom/adjust/sdk/x;->c(Ljava/lang/String;[Ljava/lang/Object;)V
iget-object v1, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v1, v1, Lcom/adjust/sdk/f;->cP:Ljava/lang/Class;
const-string v2, "android.intent.action.VIEW"
if-nez v1, :cond_1
new-instance v1, Landroid/content/Intent;
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;
iget-object v3, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v3, v3, Lcom/adjust/sdk/f;->context:Landroid/content/Context;
iget-object v4, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v4, v4, Lcom/adjust/sdk/f;->cP: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;->bY:Lcom/adjust/sdk/f;
iget-object v2, v2, Lcom/adjust/sdk/f;->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;->bY:Lcom/adjust/sdk/f;
iget-object v1, v1, Lcom/adjust/sdk/f;->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;->eW:Z
const/4 v2, 0x0
if-eqz v1, :cond_0
iget-object v1, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v1, v1, Lcom/adjust/sdk/f;->cQ:Lcom/adjust/sdk/aj;
if-eqz v1, :cond_0
iget-object v1, p0, Lcom/adjust/sdk/a;->bS:Lcom/adjust/sdk/x;
new-array v2, v2, [Ljava/lang/Object;
const-string v3, "Launching success event tracking listener"
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;->eW:Z
if-nez v1, :cond_1
iget-object v1, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v1, v1, Lcom/adjust/sdk/f;->cR:Lcom/adjust/sdk/ai;
if-eqz v1, :cond_1
iget-object v1, p0, Lcom/adjust/sdk/a;->bS:Lcom/adjust/sdk/x;
new-array v2, v2, [Ljava/lang/Object;
const-string v3, "Launching failed event tracking listener"
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;->bR: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;->bR: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;->bR: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/am;
iget-object v2, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v3, p0, Lcom/adjust/sdk/a;->bX:Lcom/adjust/sdk/t;
iget-object v4, p0, Lcom/adjust/sdk/a;->bR:Lcom/adjust/sdk/d;
iget-object v5, p0, Lcom/adjust/sdk/a;->cc:Lcom/adjust/sdk/au;
move-object v1, p1
invoke-direct/range {v1 .. v7}, Lcom/adjust/sdk/am;-><init>(Lcom/adjust/sdk/f;Lcom/adjust/sdk/t;Lcom/adjust/sdk/d;Lcom/adjust/sdk/au;J)V
invoke-virtual {p1}, Lcom/adjust/sdk/am;->as()Ljava/util/Map;
move-result-object v0
const-string v1, "push"
const-string v2, "source"
invoke-static {v0, v2, v1}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
sget-object v1, Lcom/adjust/sdk/b;->cD:Lcom/adjust/sdk/b;
invoke-virtual {p1, v1}, Lcom/adjust/sdk/am;->a(Lcom/adjust/sdk/b;)Lcom/adjust/sdk/c;
move-result-object p1
const-string v1, "/sdk_info"
iput-object v1, p1, Lcom/adjust/sdk/c;->path:Ljava/lang/String;
const-string v1, ""
iput-object v1, p1, Lcom/adjust/sdk/c;->suffix:Ljava/lang/String;
iput-object v0, p1, Lcom/adjust/sdk/c;->parameters:Ljava/util/Map;
iget-object v0, p0, Lcom/adjust/sdk/a;->bQ:Lcom/adjust/sdk/y;
invoke-interface {v0, p1}, Lcom/adjust/sdk/y;->a(Lcom/adjust/sdk/c;)V
new-instance v0, Lcom/adjust/sdk/aw;
iget-object v1, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v1, v1, Lcom/adjust/sdk/f;->context:Landroid/content/Context;
invoke-direct {v0, v1}, Lcom/adjust/sdk/aw;-><init>(Landroid/content/Context;)V
invoke-virtual {v0}, Lcom/adjust/sdk/aw;->aC()V
iget-object v0, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-boolean v0, v0, Lcom/adjust/sdk/f;->cL:Z
if-eqz v0, :cond_0
iget-object p0, p0, Lcom/adjust/sdk/a;->bS:Lcom/adjust/sdk/x;
const/4 v0, 0x1
new-array v0, v0, [Ljava/lang/Object;
const/4 v1, 0x0
iget-object p1, p1, Lcom/adjust/sdk/c;->suffix:Ljava/lang/String;
aput-object p1, v0, v1
const-string p1, "Buffered event %s"
invoke-interface {p0, p1, v0}, Lcom/adjust/sdk/x;->c(Ljava/lang/String;[Ljava/lang/Object;)V
return-void
:cond_0
iget-object p0, p0, Lcom/adjust/sdk/a;->bQ: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/4 v1, 0x0
const/4 v2, 0x1
if-eq v0, p1, :cond_0
const/4 v1, 0x1
goto :goto_0
:cond_0
if-eqz v0, :cond_1
iget-object v0, p0, Lcom/adjust/sdk/a;->bS:Lcom/adjust/sdk/x;
new-array v3, v1, [Ljava/lang/Object;
const-string v4, "Adjust already enabled"
invoke-interface {v0, v4, v3}, 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;->bS:Lcom/adjust/sdk/x;
new-array v3, v1, [Ljava/lang/Object;
const-string v4, "Adjust already disabled"
invoke-interface {v0, v4, v3}, Lcom/adjust/sdk/x;->b(Ljava/lang/String;[Ljava/lang/Object;)V
:goto_0
if-eqz v1, :cond_6
iget-object v0, p0, Lcom/adjust/sdk/a;->bW:Lcom/adjust/sdk/a$a;
iput-boolean p1, v0, Lcom/adjust/sdk/a$a;->enabled:Z
iget-object v0, p0, Lcom/adjust/sdk/a;->bR:Lcom/adjust/sdk/d;
if-nez v0, :cond_2
xor-int/2addr p1, v2
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/aw;
iget-object v1, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v1, v1, Lcom/adjust/sdk/f;->context:Landroid/content/Context;
invoke-direct {v0, v1}, Lcom/adjust/sdk/aw;-><init>(Landroid/content/Context;)V
invoke-virtual {v0}, Lcom/adjust/sdk/aw;->aE()Z
move-result v1
if-nez v1, :cond_3
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v3
invoke-direct {p0, v3, v4}, Lcom/adjust/sdk/a;->b(J)V
:cond_3
invoke-virtual {v0}, Lcom/adjust/sdk/aw;->getPushToken()Ljava/lang/String;
move-result-object v1
if-eqz v1, :cond_4
iget-object v3, p0, Lcom/adjust/sdk/a;->bR:Lcom/adjust/sdk/d;
iget-object v3, v3, Lcom/adjust/sdk/d;->pushToken:Ljava/lang/String;
invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v3
if-nez v3, :cond_4
invoke-direct {p0, v1, v2}, Lcom/adjust/sdk/a;->a(Ljava/lang/String;Z)V
:cond_4
invoke-virtual {v0}, Lcom/adjust/sdk/aw;->aA()Lorg/json/JSONArray;
invoke-virtual {p0}, Lcom/adjust/sdk/a;->G()V
:cond_5
iget-object v0, p0, Lcom/adjust/sdk/a;->bR: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, v2
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;->bP: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;->bS: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;->bS: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;->bS: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;->bS: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/AdjustAttribution;)Z
.locals 4
const/4 v0, 0x0
if-nez p1, :cond_0
return v0
:cond_0
iget-object v1, p0, Lcom/adjust/sdk/a;->bZ:Lcom/adjust/sdk/AdjustAttribution;
invoke-virtual {p1, v1}, Lcom/adjust/sdk/AdjustAttribution;->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;->bZ:Lcom/adjust/sdk/AdjustAttribution;
const-class p1, Lcom/adjust/sdk/AdjustAttribution;
monitor-enter p1
:try_start_0
iget-object v0, p0, Lcom/adjust/sdk/a;->bZ:Lcom/adjust/sdk/AdjustAttribution;
if-nez v0, :cond_2
monitor-exit p1
goto :goto_0
:cond_2
iget-object v0, p0, Lcom/adjust/sdk/a;->bZ:Lcom/adjust/sdk/AdjustAttribution;
iget-object v1, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v1, v1, Lcom/adjust/sdk/f;->context:Landroid/content/Context;
const-string v2, "AdjustAttribution"
const-string v3, "Attribution"
invoke-static {v0, v1, v2, v3}, Lcom/adjust/sdk/az;->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 a(Lcom/adjust/sdk/d;)Z
.locals 3
if-nez p1, :cond_0
iget-object p1, p0, Lcom/adjust/sdk/a;->bS:Lcom/adjust/sdk/x;
const/4 v0, 0x0
new-array v1, v0, [Ljava/lang/Object;
const-string v2, "Missing activity state"
invoke-interface {p1, v2, v1}, Lcom/adjust/sdk/x;->f(Ljava/lang/String;[Ljava/lang/Object;)V
return v0
:cond_0
const/4 p1, 0x1
return p1
.end method
.method private b(J)V
.locals 4
iget-object v0, p0, Lcom/adjust/sdk/a;->bR: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;->bR: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;->bR: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;->bR: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 10
iget-object v0, p0, Lcom/adjust/sdk/a;->bW: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;->bY:Lcom/adjust/sdk/f;
iget-object v0, v0, Lcom/adjust/sdk/f;->cW:Ljava/lang/Double;
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v0, v0, Lcom/adjust/sdk/f;->cW: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/az;->fi: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/az;->fi: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;->bS:Lcom/adjust/sdk/x;
const/4 v9, 0x2
new-array v9, v9, [Ljava/lang/Object;
aput-object v0, v9, v6
aput-object v1, v9, v7
const-string v0, "Delay start of %s seconds bigger than max allowed value of %s seconds"
invoke-interface {v8, v0, v9}, 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/az;->fi: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;->bS:Lcom/adjust/sdk/x;
new-array v4, v7, [Ljava/lang/Object;
aput-object v0, v4, v6
const-string v0, "Waiting %s seconds before starting first session"
invoke-interface {v1, v0, v4}, Lcom/adjust/sdk/x;->c(Ljava/lang/String;[Ljava/lang/Object;)V
iget-object v0, p0, Lcom/adjust/sdk/a;->bV:Lcom/adjust/sdk/ay;
invoke-virtual {v0, v2, v3}, Lcom/adjust/sdk/ay;->g(J)V
iget-object v0, p0, Lcom/adjust/sdk/a;->bW:Lcom/adjust/sdk/a$a;
iput-boolean v7, v0, Lcom/adjust/sdk/a$a;->updatePackages:Z
iget-object v0, p0, Lcom/adjust/sdk/a;->bR: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;->bR: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;->bR: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;->bR: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;->bT:Lcom/adjust/sdk/ax;
iget-boolean v0, p0, Lcom/adjust/sdk/ax;->ff:Z
const/4 v1, 0x1
const/4 v2, 0x0
if-nez v0, :cond_0
iget-object v0, p0, Lcom/adjust/sdk/ax;->bS:Lcom/adjust/sdk/x;
new-array v1, v1, [Ljava/lang/Object;
iget-object p0, p0, Lcom/adjust/sdk/ax;->name:Ljava/lang/String;
aput-object p0, v1, v2
const-string p0, "%s is already started"
invoke-interface {v0, p0, v1}, Lcom/adjust/sdk/x;->a(Ljava/lang/String;[Ljava/lang/Object;)V
return-void
:cond_0
iget-object v0, p0, Lcom/adjust/sdk/ax;->bS:Lcom/adjust/sdk/x;
new-array v1, v1, [Ljava/lang/Object;
iget-object v3, p0, Lcom/adjust/sdk/ax;->name:Ljava/lang/String;
aput-object v3, v1, v2
const-string v3, "%s starting"
invoke-interface {v0, v3, v1}, Lcom/adjust/sdk/x;->a(Ljava/lang/String;[Ljava/lang/Object;)V
iget-object v0, p0, Lcom/adjust/sdk/ax;->fb:Lcom/adjust/sdk/s;
new-instance v4, Lcom/adjust/sdk/ax$1;
invoke-direct {v4, p0}, Lcom/adjust/sdk/ax$1;-><init>(Lcom/adjust/sdk/ax;)V
iget-wide v5, p0, Lcom/adjust/sdk/ax;->initialDelay:J
iget-wide v7, p0, Lcom/adjust/sdk/ax;->fe:J
sget-object v9, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
iget-object v3, v0, Lcom/adjust/sdk/s;->dH: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/ax;->fc:Ljava/util/concurrent/ScheduledFuture;
iput-boolean v2, p0, Lcom/adjust/sdk/ax;->ff:Z
:cond_1
return-void
.end method
.method private c(J)Z
.locals 6
iget-object v0, p0, Lcom/adjust/sdk/a;->bR: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;->bR: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;->bN:J
cmp-long v0, v2, v4
if-lez v0, :cond_1
return v1
:cond_1
iget-object v0, p0, Lcom/adjust/sdk/a;->bR: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;->bS:Lcom/adjust/sdk/x;
new-array p2, v1, [Ljava/lang/Object;
const-string v0, "Time travel!"
invoke-interface {p1, v0, p2}, 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;->bR: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/am;
iget-object v1, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v2, p0, Lcom/adjust/sdk/a;->bX:Lcom/adjust/sdk/t;
iget-object v3, p0, Lcom/adjust/sdk/a;->bR:Lcom/adjust/sdk/d;
iget-object v4, p0, Lcom/adjust/sdk/a;->cc:Lcom/adjust/sdk/au;
move-object v0, v7
move-wide v5, p1
invoke-direct/range {v0 .. v6}, Lcom/adjust/sdk/am;-><init>(Lcom/adjust/sdk/f;Lcom/adjust/sdk/t;Lcom/adjust/sdk/d;Lcom/adjust/sdk/au;J)V
iget-object p1, p0, Lcom/adjust/sdk/a;->bW:Lcom/adjust/sdk/a$a;
iget-boolean p1, p1, Lcom/adjust/sdk/a$a;->ct:Z
invoke-virtual {v7, p1}, Lcom/adjust/sdk/am;->h(Z)Lcom/adjust/sdk/c;
move-result-object p1
iget-object p2, p0, Lcom/adjust/sdk/a;->bQ: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;->bQ: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;->bR: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;->bR: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;->bR:Lcom/adjust/sdk/d;
new-instance v2, Lcom/adjust/sdk/aw;
iget-object v4, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
iget-object v4, v4, Lcom/adjust/sdk/f;->context:Landroid/content/Context;
invoke-direct {v2, v4}, Lcom/adjust/sdk/aw;-><init>(Landroid/content/Context;)V
iget-object v4, p0, Lcom/adjust/sdk/a;->bR:Lcom/adjust/sdk/d;
invoke-virtual {v2}, Lcom/adjust/sdk/aw;->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;->bW: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;->bR: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;->bR:Lcom/adjust/sdk/d;
invoke-virtual {v3, v0, v1}, Lcom/adjust/sdk/d;->e(J)V
iget-object v0, p0, Lcom/adjust/sdk/a;->bR:Lcom/adjust/sdk/d;
iget-object v1, p0, Lcom/adjust/sdk/a;->bW: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;->bR:Lcom/adjust/sdk/d;
iget-object v1, p0, Lcom/adjust/sdk/a;->bW: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/aw;->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;->bS:Lcom/adjust/sdk/x;
new-array v2, v2, [Ljava/lang/Object;
const-string v4, "Time travel!"
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;->bR: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;->bN: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;->bO:J
cmp-long v8, v4, v6
if-lez v8, :cond_5
iget-object v6, p0, Lcom/adjust/sdk/a;->bR: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;->bR: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;->bR:Lcom/adjust/sdk/d;
iput-wide v0, v4, Lcom/adjust/sdk/d;->lastActivity:J
iget-object v0, p0, Lcom/adjust/sdk/a;->bS:Lcom/adjust/sdk/x;
const/4 v1, 0x2
new-array v1, v1, [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, v1, v2
iget-object v2, p0, Lcom/adjust/sdk/a;->bR: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, v1, v3
const-string v2, "Started subsession %d of session %d"
invoke-interface {v0, v2, v1}, 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;->bS:Lcom/adjust/sdk/x;
new-array v1, v2, [Ljava/lang/Object;
const-string v2, "Time span since last activity too short for a new subsession"
invoke-interface {v0, v2, v1}, Lcom/adjust/sdk/x;->a(Ljava/lang/String;[Ljava/lang/Object;)V
:goto_0
iget-object v0, p0, Lcom/adjust/sdk/a;->bR: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;->bW:Lcom/adjust/sdk/a$a;
iget-boolean v0, v0, Lcom/adjust/sdk/a$a;->cu:Z
if-eqz v0, :cond_6
iget-object v0, p0, Lcom/adjust/sdk/a;->bW: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;->bZ:Lcom/adjust/sdk/AdjustAttribution;
if-eqz v0, :cond_7
iget-object v0, p0, Lcom/adjust/sdk/a;->bR: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;->ca: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;->bW: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;->bW: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;->bW:Lcom/adjust/sdk/a$a;
iget-boolean p1, p1, Lcom/adjust/sdk/a$a;->ct: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;->bW: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;->bS:Lcom/adjust/sdk/x;
new-array v0, v1, [Ljava/lang/Object;
const-string v1, "Start delay expired or never configured"
invoke-interface {p0, v1, v0}, 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;->bW:Lcom/adjust/sdk/a$a;
iput-boolean v1, v0, Lcom/adjust/sdk/a$a;->ct:Z
iget-object v0, p0, Lcom/adjust/sdk/a;->bV:Lcom/adjust/sdk/ay;
invoke-virtual {v0}, Lcom/adjust/sdk/ay;->aG()V
const/4 v0, 0x0
iput-object v0, p0, Lcom/adjust/sdk/a;->bV:Lcom/adjust/sdk/ay;
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;->bQ: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/f;
.locals 1
iget-object v0, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
return-object v0
.end method
.method public final C()Lcom/adjust/sdk/t;
.locals 1
iget-object v0, p0, Lcom/adjust/sdk/a;->bX: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;->bR:Lcom/adjust/sdk/d;
return-object v0
.end method
.method public final E()Lcom/adjust/sdk/au;
.locals 1
iget-object v0, p0, Lcom/adjust/sdk/a;->cc:Lcom/adjust/sdk/au;
return-object v0
.end method
.method public final G()V
.locals 2
iget-object v0, p0, Lcom/adjust/sdk/a;->bP: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;->bT:Lcom/adjust/sdk/ax;
iget-boolean v1, v0, Lcom/adjust/sdk/ax;->ff:Z
const/4 v2, 0x1
const/4 v3, 0x0
if-eqz v1, :cond_0
iget-object v1, v0, Lcom/adjust/sdk/ax;->bS:Lcom/adjust/sdk/x;
new-array v2, v2, [Ljava/lang/Object;
iget-object v0, v0, Lcom/adjust/sdk/ax;->name:Ljava/lang/String;
aput-object v0, v2, v3
const-string v0, "%s is already suspended"
invoke-interface {v1, v0, v2}, Lcom/adjust/sdk/x;->a(Ljava/lang/String;[Ljava/lang/Object;)V
return-void
:cond_0
iget-object v1, v0, Lcom/adjust/sdk/ax;->fc: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/ax;->initialDelay:J
iget-object v1, v0, Lcom/adjust/sdk/ax;->fc:Ljava/util/concurrent/ScheduledFuture;
invoke-interface {v1, v3}, Ljava/util/concurrent/ScheduledFuture;->cancel(Z)Z
sget-object v1, Lcom/adjust/sdk/az;->fi:Ljava/text/DecimalFormat;
iget-wide v4, v0, Lcom/adjust/sdk/ax;->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/ax;->bS:Lcom/adjust/sdk/x;
const/4 v5, 0x2
new-array v5, v5, [Ljava/lang/Object;
iget-object v6, v0, Lcom/adjust/sdk/ax;->name:Ljava/lang/String;
aput-object v6, v5, v3
aput-object v1, v5, v2
const-string v1, "%s suspended with %s seconds left"
invoke-interface {v4, v1, v5}, Lcom/adjust/sdk/x;->a(Ljava/lang/String;[Ljava/lang/Object;)V
iput-boolean v2, v0, Lcom/adjust/sdk/ax;->ff:Z
return-void
.end method
.method final M()V
.locals 5
iget-object v0, p0, Lcom/adjust/sdk/a;->bU:Lcom/adjust/sdk/ay;
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;->bU:Lcom/adjust/sdk/ay;
invoke-virtual {v0}, Lcom/adjust/sdk/ay;->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;->bU:Lcom/adjust/sdk/ay;
sget-wide v1, Lcom/adjust/sdk/a;->bM:J
invoke-virtual {v0, v1, v2}, Lcom/adjust/sdk/ay;->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;->bP: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/ar;)V
.locals 3
instance-of v0, p1, Lcom/adjust/sdk/av;
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/adjust/sdk/a;->ca:Lcom/adjust/sdk/w;
check-cast p1, Lcom/adjust/sdk/av;
invoke-interface {v0, p1}, Lcom/adjust/sdk/w;->b(Lcom/adjust/sdk/av;)V
return-void
:cond_0
instance-of v0, p1, Lcom/adjust/sdk/at;
if-eqz v0, :cond_2
check-cast p1, Lcom/adjust/sdk/at;
iget-boolean v0, p1, Lcom/adjust/sdk/at;->fa:Z
if-eqz v0, :cond_1
iget-object v0, p0, Lcom/adjust/sdk/a;->bR:Lcom/adjust/sdk/d;
iget-wide v1, p1, Lcom/adjust/sdk/at;->clickTime:J
iput-wide v1, v0, Lcom/adjust/sdk/d;->clickTime:J
iget-object v0, p0, Lcom/adjust/sdk/a;->bR:Lcom/adjust/sdk/d;
iget-wide v1, p1, Lcom/adjust/sdk/at;->installBegin:J
iput-wide v1, v0, Lcom/adjust/sdk/d;->installBegin:J
iget-object v0, p0, Lcom/adjust/sdk/a;->bR:Lcom/adjust/sdk/d;
iget-object v1, p1, Lcom/adjust/sdk/at;->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;->ca:Lcom/adjust/sdk/w;
invoke-interface {v0, p1}, Lcom/adjust/sdk/w;->b(Lcom/adjust/sdk/at;)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;->bP: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;
:cond_3
return-void
.end method
.method public final a(Lcom/adjust/sdk/at;)V
.locals 2
iget-object v0, p0, Lcom/adjust/sdk/a;->bP: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/at;)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/av;)V
.locals 2
iget-object v0, p0, Lcom/adjust/sdk/a;->bP: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/av;)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/f;)V
.locals 0
iput-object p1, p0, Lcom/adjust/sdk/a;->bY:Lcom/adjust/sdk/f;
return-void
.end method
.method public final a(Lcom/adjust/sdk/g;)V
.locals 2
iget-object v0, p0, Lcom/adjust/sdk/a;->bP: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;->bP: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;->bP: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;->bY:Lcom/adjust/sdk/f;
iget-boolean p1, p1, Lcom/adjust/sdk/f;->cV:Z
if-eqz p1, :cond_1
const/4 p1, 0x1
return p1
:cond_1
iget-object p1, p0, Lcom/adjust/sdk/a;->bW: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;->bY:Lcom/adjust/sdk/f;
iget-object v0, v0, Lcom/adjust/sdk/f;->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;->bW:Lcom/adjust/sdk/a$a;
const/4 v1, 0x1
iput-boolean v1, v0, Lcom/adjust/sdk/a$a;->cs:Z
iget-object v0, p0, Lcom/adjust/sdk/a;->bP: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;->bW:Lcom/adjust/sdk/a$a;
const/4 v1, 0x0
iput-boolean v1, v0, Lcom/adjust/sdk/a$a;->cs:Z
iget-object v0, p0, Lcom/adjust/sdk/a;->bP: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