apkfuckery/com.discord/smali/f/c/a/g.smali

2682 lines
57 KiB
Smali
Raw Normal View History

2020-04-17 17:35:24 +00:00
.class public Lf/c/a/g;
.super Ljava/lang/Object;
.source "ActivityHandler.java"
# interfaces
.implements Lf/c/a/s0;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lf/c/a/g$j;
}
.end annotation
# static fields
.field public static o:J
.field public static p:J
.field public static q:J
.field public static r:J
.field public static s:J
# instance fields
.field public a:Lf/c/a/p0;
.field public b:Lf/c/a/v0;
.field public c:Lf/c/a/t;
.field public d:Lf/c/a/u0;
.field public e:Lf/c/a/y1;
.field public f:Lf/c/a/z1;
.field public g:Lf/c/a/z1;
.field public h:Lf/c/a/g$j;
.field public i:Lf/c/a/q0;
.field public j:Lf/c/a/v;
.field public k:Lcom/adjust/sdk/AdjustAttribution;
.field public l:Lf/c/a/t0;
.field public m:Lf/c/a/y0;
.field public n:Lf/c/a/u1;
# direct methods
.method public constructor <init>(Lf/c/a/v;)V
.locals 4
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lf/c/a/g;->j:Lf/c/a/v;
invoke-static {}, Lf/c/a/z;->a()Lf/c/a/u0;
move-result-object v0
iput-object v0, p0, Lf/c/a/g;->d:Lf/c/a/u0;
iget-object v0, p0, Lf/c/a/g;->d:Lf/c/a/u0;
check-cast v0, Lf/c/a/b1;
const/4 v1, 0x1
iput-boolean v1, v0, Lf/c/a/b1;->b:Z
new-instance v0, Lf/c/a/p0;
const/4 v2, 0x0
const-string v3, "ActivityHandler"
invoke-direct {v0, v3, v2}, Lf/c/a/p0;-><init>(Ljava/lang/String;Z)V
iput-object v0, p0, Lf/c/a/g;->a:Lf/c/a/p0;
new-instance v0, Lf/c/a/g$j;
invoke-direct {v0, p0}, Lf/c/a/g$j;-><init>(Lf/c/a/g;)V
iput-object v0, p0, Lf/c/a/g;->h:Lf/c/a/g$j;
iget-object v0, p0, Lf/c/a/g;->h:Lf/c/a/g$j;
iget-object v3, p1, Lf/c/a/v;->v:Ljava/lang/Boolean;
if-eqz v3, :cond_0
invoke-virtual {v3}, Ljava/lang/Boolean;->booleanValue()Z
move-result v3
goto :goto_0
:cond_0
const/4 v3, 0x1
:goto_0
iput-boolean v3, v0, Lf/c/a/g$j;->a:Z
iget-object v0, p0, Lf/c/a/g;->h:Lf/c/a/g$j;
iget-boolean p1, p1, Lf/c/a/v;->w:Z
iput-boolean p1, v0, Lf/c/a/g$j;->b:Z
iput-boolean v1, v0, Lf/c/a/g$j;->c:Z
iput-boolean v2, v0, Lf/c/a/g$j;->d:Z
iput-boolean v2, v0, Lf/c/a/g$j;->e:Z
iput-boolean v2, v0, Lf/c/a/g$j;->g:Z
iget-object p1, p0, Lf/c/a/g;->a:Lf/c/a/p0;
new-instance v0, Lf/c/a/g$a;
invoke-direct {v0, p0}, Lf/c/a/g$a;-><init>(Lf/c/a/g;)V
iget-object p1, p1, Lf/c/a/p0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
invoke-virtual {p1, v0}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
return-void
.end method
.method public static synthetic a(Lf/c/a/g;)V
.locals 10
iget-object v0, p0, Lf/c/a/g;->c:Lf/c/a/t;
if-eqz v0, :cond_0
iget-boolean v0, v0, Lf/c/a/t;->enabled:Z
if-nez v0, :cond_0
goto/16 :goto_1
:cond_0
invoke-virtual {p0}, Lf/c/a/g;->i()V
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v0
iget-object v2, p0, Lf/c/a/g;->c:Lf/c/a/t;
const/4 v3, 0x1
if-nez v2, :cond_2
new-instance v2, Lf/c/a/t;
invoke-direct {v2}, Lf/c/a/t;-><init>()V
iput-object v2, p0, Lf/c/a/g;->c:Lf/c/a/t;
new-instance v2, Lf/c/a/w1;
iget-object v4, p0, Lf/c/a/g;->j:Lf/c/a/v;
iget-object v4, v4, Lf/c/a/v;->a:Landroid/content/Context;
invoke-direct {v2, v4}, Lf/c/a/w1;-><init>(Landroid/content/Context;)V
iget-object v4, p0, Lf/c/a/g;->c:Lf/c/a/t;
invoke-virtual {v2}, Lf/c/a/w1;->b()Ljava/lang/String;
move-result-object v5
iput-object v5, v4, Lf/c/a/t;->pushToken:Ljava/lang/String;
iget-object v4, p0, Lf/c/a/g;->h:Lf/c/a/g$j;
iget-boolean v4, v4, Lf/c/a/g$j;->a:Z
if-eqz v4, :cond_1
iget-object v4, p0, Lf/c/a/g;->c:Lf/c/a/t;
iput v3, v4, Lf/c/a/t;->sessionCount:I
invoke-virtual {p0, v0, v1}, Lf/c/a/g;->b(J)V
:cond_1
iget-object v3, p0, Lf/c/a/g;->c:Lf/c/a/t;
invoke-virtual {v3, v0, v1}, Lf/c/a/t;->a(J)V
iget-object v0, p0, Lf/c/a/g;->c:Lf/c/a/t;
iget-object v1, p0, Lf/c/a/g;->h:Lf/c/a/g$j;
iget-boolean v3, v1, Lf/c/a/g$j;->a:Z
iput-boolean v3, v0, Lf/c/a/t;->enabled:Z
invoke-virtual {v1}, Lf/c/a/g$j;->d()Z
move-result v1
iput-boolean v1, v0, Lf/c/a/t;->updatePackages:Z
invoke-virtual {p0}, Lf/c/a/g;->k()V
invoke-virtual {v2}, Lf/c/a/w1;->d()V
goto :goto_0
:cond_2
iget-wide v4, v2, Lf/c/a/t;->lastActivity:J
sub-long v4, v0, v4
const-wide/16 v6, 0x0
const/4 v8, 0x0
cmp-long v9, v4, v6
if-gez v9, :cond_3
iget-object v2, p0, Lf/c/a/g;->d:Lf/c/a/u0;
new-array v3, v8, [Ljava/lang/Object;
check-cast v2, Lf/c/a/b1;
const-string v4, "Time travel!"
invoke-virtual {v2, v4, v3}, Lf/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V
iget-object v2, p0, Lf/c/a/g;->c:Lf/c/a/t;
iput-wide v0, v2, Lf/c/a/t;->lastActivity:J
invoke-virtual {p0}, Lf/c/a/g;->k()V
goto :goto_0
:cond_3
sget-wide v6, Lf/c/a/g;->r:J
cmp-long v9, v4, v6
if-lez v9, :cond_4
invoke-virtual {p0, v0, v1}, Lf/c/a/g;->a(J)V
goto :goto_0
:cond_4
sget-wide v6, Lf/c/a/g;->s:J
cmp-long v9, v4, v6
if-lez v9, :cond_5
iget v6, v2, Lf/c/a/t;->subsessionCount:I
add-int/2addr v6, v3
iput v6, v2, Lf/c/a/t;->subsessionCount:I
iget-wide v6, v2, Lf/c/a/t;->sessionLength:J
add-long/2addr v6, v4
iput-wide v6, v2, Lf/c/a/t;->sessionLength:J
iput-wide v0, v2, Lf/c/a/t;->lastActivity:J
iget-object v0, p0, Lf/c/a/g;->d:Lf/c/a/u0;
const/4 v1, 0x2
new-array v1, v1, [Ljava/lang/Object;
iget v2, v2, Lf/c/a/t;->subsessionCount:I
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
aput-object v2, v1, v8
iget-object v2, p0, Lf/c/a/g;->c:Lf/c/a/t;
iget v2, v2, Lf/c/a/t;->sessionCount:I
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
aput-object v2, v1, v3
check-cast v0, Lf/c/a/b1;
const-string v2, "Started subsession %d of session %d"
invoke-virtual {v0, v2, v1}, Lf/c/a/b1;->d(Ljava/lang/String;[Ljava/lang/Object;)V
invoke-virtual {p0}, Lf/c/a/g;->k()V
goto :goto_0
:cond_5
iget-object v0, p0, Lf/c/a/g;->d:Lf/c/a/u0;
new-array v1, v8, [Ljava/lang/Object;
check-cast v0, Lf/c/a/b1;
const-string v2, "Time span since last activity too short for a new subsession"
invoke-virtual {v0, v2, v1}, Lf/c/a/b1;->d(Ljava/lang/String;[Ljava/lang/Object;)V
:goto_0
iget-object v0, p0, Lf/c/a/g;->c:Lf/c/a/t;
invoke-virtual {p0, v0}, Lf/c/a/g;->a(Lf/c/a/t;)Z
move-result v0
if-nez v0, :cond_6
goto :goto_1
:cond_6
iget-object v0, p0, Lf/c/a/g;->h:Lf/c/a/g$j;
invoke-virtual {v0}, Lf/c/a/g$j;->b()Z
move-result v0
if-eqz v0, :cond_7
iget-object v0, p0, Lf/c/a/g;->h:Lf/c/a/g$j;
invoke-virtual {v0}, Lf/c/a/g$j;->a()Z
move-result v0
if-eqz v0, :cond_7
goto :goto_1
:cond_7
iget-object v0, p0, Lf/c/a/g;->k:Lcom/adjust/sdk/AdjustAttribution;
if-eqz v0, :cond_8
iget-object v0, p0, Lf/c/a/g;->c:Lf/c/a/t;
iget-boolean v0, v0, Lf/c/a/t;->askingAttribution:Z
if-nez v0, :cond_8
goto :goto_1
:cond_8
iget-object p0, p0, Lf/c/a/g;->l:Lf/c/a/t0;
check-cast p0, Lf/c/a/g0;
iget-object v0, p0, Lf/c/a/g0;->a:Lf/c/a/p0;
new-instance v1, Lf/c/a/h0;
invoke-direct {v1, p0}, Lf/c/a/h0;-><init>(Lf/c/a/g0;)V
iget-object p0, v0, Lf/c/a/p0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
invoke-virtual {p0, v1}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
:goto_1
return-void
.end method
# virtual methods
.method public final a()V
.locals 12
const-string v0, "Failed to read %s file (%s)"
const-wide/32 v1, 0x1b7740
sput-wide v1, Lf/c/a/g;->r:J
const-wide/16 v1, 0x3e8
sput-wide v1, Lf/c/a/g;->s:J
const-wide/32 v1, 0xea60
sput-wide v1, Lf/c/a/g;->o:J
sput-wide v1, Lf/c/a/g;->p:J
sput-wide v1, Lf/c/a/g;->q:J
iget-object v1, p0, Lf/c/a/g;->j:Lf/c/a/v;
iget-object v1, v1, Lf/c/a/v;->a:Landroid/content/Context;
const-string v2, "Attribution"
const/4 v3, 0x0
const/4 v4, 0x1
const/4 v5, 0x0
const/4 v6, 0x2
:try_start_0
const-string v7, "AdjustAttribution"
const-class v8, Lcom/adjust/sdk/AdjustAttribution;
invoke-static {v1, v7, v2, v8}, Lf/c/a/a2;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/adjust/sdk/AdjustAttribution;
iput-object v1, p0, Lf/c/a/g;->k: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 v1
iget-object v7, p0, Lf/c/a/g;->d:Lf/c/a/u0;
new-array v8, v6, [Ljava/lang/Object;
aput-object v2, v8, v3
invoke-virtual {v1}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
move-result-object v1
aput-object v1, v8, v4
check-cast v7, Lf/c/a/b1;
invoke-virtual {v7, v0, v8}, Lf/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V
iput-object v5, p0, Lf/c/a/g;->k:Lcom/adjust/sdk/AdjustAttribution;
:goto_0
iget-object v1, p0, Lf/c/a/g;->j:Lf/c/a/v;
iget-object v1, v1, Lf/c/a/v;->a:Landroid/content/Context;
const-string v2, "Activity state"
:try_start_1
const-string v7, "AdjustIoActivityState"
const-class v8, Lf/c/a/t;
invoke-static {v1, v7, v2, v8}, Lf/c/a/a2;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Lf/c/a/t;
iput-object v1, p0, Lf/c/a/g;->c:Lf/c/a/t;
:try_end_1
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1
goto :goto_1
:catch_1
move-exception v1
iget-object v7, p0, Lf/c/a/g;->d:Lf/c/a/u0;
new-array v8, v6, [Ljava/lang/Object;
aput-object v2, v8, v3
invoke-virtual {v1}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
move-result-object v1
aput-object v1, v8, v4
check-cast v7, Lf/c/a/b1;
invoke-virtual {v7, v0, v8}, Lf/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V
iput-object v5, p0, Lf/c/a/g;->c:Lf/c/a/t;
:goto_1
new-instance v1, Lf/c/a/u1;
invoke-direct {v1}, Lf/c/a/u1;-><init>()V
iput-object v1, p0, Lf/c/a/g;->n:Lf/c/a/u1;
iget-object v1, p0, Lf/c/a/g;->j:Lf/c/a/v;
iget-object v1, v1, Lf/c/a/v;->a:Landroid/content/Context;
const-string v2, "Session Callback parameters"
:try_start_2
iget-object v7, p0, Lf/c/a/g;->n:Lf/c/a/u1;
const-string v8, "AdjustSessionCallbackParameters"
const-class v9, Ljava/util/Map;
invoke-static {v1, v8, v2, v9}, Lf/c/a/a2;->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, v7, Lf/c/a/u1;->a: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 v1
iget-object v7, p0, Lf/c/a/g;->d:Lf/c/a/u0;
new-array v8, v6, [Ljava/lang/Object;
aput-object v2, v8, v3
invoke-virtual {v1}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
move-result-object v1
aput-object v1, v8, v4
check-cast v7, Lf/c/a/b1;
invoke-virtual {v7, v0, v8}, Lf/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V
iget-object v1, p0, Lf/c/a/g;->n:Lf/c/a/u1;
iput-object v5, v1, Lf/c/a/u1;->a:Ljava/util/Map;
:goto_2
iget-object v1, p0, Lf/c/a/g;->j:Lf/c/a/v;
iget-object v1, v1, Lf/c/a/v;->a:Landroid/content/Context;
const-string v2, "Session Partner parameters"
:try_start_3
iget-object v7, p0, Lf/c/a/g;->n:Lf/c/a/u1;
const-string v8, "AdjustSessionPartnerParameters"
const-class v9, Ljava/util/Map;
invoke-static {v1, v8, v2, v9}, Lf/c/a/a2;->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, v7, Lf/c/a/u1;->b: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 v7, p0, Lf/c/a/g;->d:Lf/c/a/u0;
new-array v6, v6, [Ljava/lang/Object;
aput-object v2, v6, v3
invoke-virtual {v1}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
move-result-object v1
aput-object v1, v6, v4
check-cast v7, Lf/c/a/b1;
invoke-virtual {v7, v0, v6}, Lf/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V
iget-object v0, p0, Lf/c/a/g;->n:Lf/c/a/u1;
iput-object v5, v0, Lf/c/a/u1;->b:Ljava/util/Map;
:goto_3
iget-object v0, p0, Lf/c/a/g;->j:Lf/c/a/v;
iget-object v1, v0, Lf/c/a/v;->v:Ljava/lang/Boolean;
if-eqz v1, :cond_1
iget-object v1, v0, Lf/c/a/v;->r:Ljava/util/List;
if-nez v1, :cond_0
new-instance v1, Ljava/util/ArrayList;
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
iput-object v1, v0, Lf/c/a/v;->r:Ljava/util/List;
:cond_0
iget-object v0, p0, Lf/c/a/g;->j:Lf/c/a/v;
iget-object v0, v0, Lf/c/a/v;->r:Ljava/util/List;
new-instance v1, Lf/c/a/g$c;
invoke-direct {v1, p0}, Lf/c/a/g$c;-><init>(Lf/c/a/g;)V
invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
:cond_1
iget-object v0, p0, Lf/c/a/g;->c:Lf/c/a/t;
if-eqz v0, :cond_2
iget-object v1, p0, Lf/c/a/g;->h:Lf/c/a/g$j;
iget-boolean v2, v0, Lf/c/a/t;->enabled:Z
iput-boolean v2, v1, Lf/c/a/g$j;->a:Z
iget-boolean v0, v0, Lf/c/a/t;->updatePackages:Z
iput-boolean v0, v1, Lf/c/a/g$j;->e:Z
iput-boolean v3, v1, Lf/c/a/g$j;->f:Z
goto :goto_4
:cond_2
iget-object v0, p0, Lf/c/a/g;->h:Lf/c/a/g$j;
iput-boolean v4, v0, Lf/c/a/g$j;->f:Z
:goto_4
iget-object v0, p0, Lf/c/a/g;->j:Lf/c/a/v;
iget-object v0, v0, Lf/c/a/v;->a: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, Lf/c/a/g;->d:Lf/c/a/u0;
new-array v2, v3, [Ljava/lang/Object;
check-cast v0, Lf/c/a/b1;
const-string v5, "adjust_config.properties file read and loaded"
invoke-virtual {v0, v5, v2}, Lf/c/a/b1;->d(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, Lf/c/a/g;->j:Lf/c/a/v;
iput-object v0, v1, Lf/c/a/v;->g:Ljava/lang/String;
goto :goto_5
:catch_4
move-exception v0
iget-object v1, p0, Lf/c/a/g;->d:Lf/c/a/u0;
new-array v2, v4, [Ljava/lang/Object;
invoke-virtual {v0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
move-result-object v0
aput-object v0, v2, v3
check-cast v1, Lf/c/a/b1;
const-string v0, "%s file not found in this app"
invoke-virtual {v1, v0, v2}, Lf/c/a/b1;->a(Ljava/lang/String;[Ljava/lang/Object;)V
:cond_3
:goto_5
new-instance v0, Lf/c/a/q0;
iget-object v1, p0, Lf/c/a/g;->j:Lf/c/a/v;
iget-object v2, v1, Lf/c/a/v;->a:Landroid/content/Context;
iget-object v1, v1, Lf/c/a/v;->e:Ljava/lang/String;
invoke-direct {v0, v2, v1}, Lf/c/a/q0;-><init>(Landroid/content/Context;Ljava/lang/String;)V
iput-object v0, p0, Lf/c/a/g;->i:Lf/c/a/q0;
iget-object v0, p0, Lf/c/a/g;->j:Lf/c/a/v;
iget-boolean v0, v0, Lf/c/a/v;->f:Z
if-eqz v0, :cond_4
iget-object v0, p0, Lf/c/a/g;->d:Lf/c/a/u0;
new-array v1, v3, [Ljava/lang/Object;
check-cast v0, Lf/c/a/b1;
const-string v2, "Event buffering is enabled"
invoke-virtual {v0, v2, v1}, Lf/c/a/b1;->c(Ljava/lang/String;[Ljava/lang/Object;)V
:cond_4
iget-object v0, p0, Lf/c/a/g;->i:Lf/c/a/q0;
iget-object v0, v0, Lf/c/a/q0;->a:Ljava/lang/String;
if-nez v0, :cond_5
iget-object v0, p0, Lf/c/a/g;->d:Lf/c/a/u0;
new-array v1, v3, [Ljava/lang/Object;
check-cast v0, Lf/c/a/b1;
const-string v2, "Unable to get Google Play Services Advertising ID at start time"
invoke-virtual {v0, v2, v1}, Lf/c/a/b1;->e(Ljava/lang/String;[Ljava/lang/Object;)V
iget-object v0, p0, Lf/c/a/g;->i:Lf/c/a/q0;
iget-object v1, v0, Lf/c/a/q0;->d:Ljava/lang/String;
if-nez v1, :cond_6
iget-object v1, v0, Lf/c/a/q0;->e:Ljava/lang/String;
if-nez v1, :cond_6
iget-object v0, v0, Lf/c/a/q0;->f:Ljava/lang/String;
if-nez v0, :cond_6
iget-object v0, p0, Lf/c/a/g;->d:Lf/c/a/u0;
new-array v1, v3, [Ljava/lang/Object;
check-cast v0, Lf/c/a/b1;
const-string v2, "Unable to get any device id\'s. Please check if Proguard is correctly set with Adjust SDK"
invoke-virtual {v0, v2, v1}, Lf/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V
goto :goto_6
:cond_5
iget-object v0, p0, Lf/c/a/g;->d:Lf/c/a/u0;
new-array v1, v3, [Ljava/lang/Object;
check-cast v0, Lf/c/a/b1;
const-string v2, "Google Play Services Advertising ID read correctly at start time"
invoke-virtual {v0, v2, v1}, Lf/c/a/b1;->c(Ljava/lang/String;[Ljava/lang/Object;)V
:cond_6
:goto_6
iget-object v0, p0, Lf/c/a/g;->j:Lf/c/a/v;
iget-object v0, v0, Lf/c/a/v;->g:Ljava/lang/String;
if-eqz v0, :cond_7
iget-object v1, p0, Lf/c/a/g;->d:Lf/c/a/u0;
new-array v2, v4, [Ljava/lang/Object;
aput-object v0, v2, v3
check-cast v1, Lf/c/a/b1;
const-string v0, "Default tracker: \'%s\'"
invoke-virtual {v1, v0, v2}, Lf/c/a/b1;->c(Ljava/lang/String;[Ljava/lang/Object;)V
:cond_7
iget-object v0, p0, Lf/c/a/g;->j:Lf/c/a/v;
iget-object v1, v0, Lf/c/a/v;->u:Ljava/lang/String;
if-eqz v1, :cond_9
iget-object v0, p0, Lf/c/a/g;->d:Lf/c/a/u0;
new-array v2, v4, [Ljava/lang/Object;
aput-object v1, v2, v3
check-cast v0, Lf/c/a/b1;
const-string v1, "Push token: \'%s\'"
invoke-virtual {v0, v1, v2}, Lf/c/a/b1;->c(Ljava/lang/String;[Ljava/lang/Object;)V
iget-object v0, p0, Lf/c/a/g;->c:Lf/c/a/t;
if-eqz v0, :cond_8
iget-object v0, p0, Lf/c/a/g;->j:Lf/c/a/v;
iget-object v0, v0, Lf/c/a/v;->u:Ljava/lang/String;
invoke-virtual {p0, v0, v3}, Lf/c/a/g;->a(Ljava/lang/String;Z)V
goto :goto_7
:cond_8
new-instance v0, Lf/c/a/w1;
iget-object v1, p0, Lf/c/a/g;->j:Lf/c/a/v;
iget-object v1, v1, Lf/c/a/v;->a:Landroid/content/Context;
invoke-direct {v0, v1}, Lf/c/a/w1;-><init>(Landroid/content/Context;)V
iget-object v1, p0, Lf/c/a/g;->j:Lf/c/a/v;
iget-object v1, v1, Lf/c/a/v;->u:Ljava/lang/String;
invoke-virtual {v0, v1}, Lf/c/a/w1;->c(Ljava/lang/String;)V
goto :goto_7
:cond_9
iget-object v1, p0, Lf/c/a/g;->c:Lf/c/a/t;
if-eqz v1, :cond_a
new-instance v1, Lf/c/a/w1;
iget-object v0, v0, Lf/c/a/v;->a:Landroid/content/Context;
invoke-direct {v1, v0}, Lf/c/a/w1;-><init>(Landroid/content/Context;)V
invoke-virtual {v1}, Lf/c/a/w1;->b()Ljava/lang/String;
move-result-object v0
invoke-virtual {p0, v0, v4}, Lf/c/a/g;->a(Ljava/lang/String;Z)V
:cond_a
:goto_7
new-instance v0, Lf/c/a/y1;
new-instance v6, Lf/c/a/g$d;
invoke-direct {v6, p0}, Lf/c/a/g$d;-><init>(Lf/c/a/g;)V
sget-wide v7, Lf/c/a/g;->p:J
sget-wide v9, Lf/c/a/g;->o:J
const-string v11, "Foreground timer"
move-object v5, v0
invoke-direct/range {v5 .. v11}, Lf/c/a/y1;-><init>(Ljava/lang/Runnable;JJLjava/lang/String;)V
iput-object v0, p0, Lf/c/a/g;->e:Lf/c/a/y1;
iget-object v0, p0, Lf/c/a/g;->j:Lf/c/a/v;
iget-boolean v0, v0, Lf/c/a/v;->p:Z
if-eqz v0, :cond_b
iget-object v0, p0, Lf/c/a/g;->d:Lf/c/a/u0;
new-array v1, v3, [Ljava/lang/Object;
check-cast v0, Lf/c/a/b1;
const-string v2, "Send in background configured"
invoke-virtual {v0, v2, v1}, Lf/c/a/b1;->c(Ljava/lang/String;[Ljava/lang/Object;)V
new-instance v0, Lf/c/a/z1;
new-instance v1, Lf/c/a/g$e;
invoke-direct {v1, p0}, Lf/c/a/g$e;-><init>(Lf/c/a/g;)V
const-string v2, "Background timer"
invoke-direct {v0, v1, v2}, Lf/c/a/z1;-><init>(Ljava/lang/Runnable;Ljava/lang/String;)V
iput-object v0, p0, Lf/c/a/g;->f:Lf/c/a/z1;
:cond_b
iget-object v0, p0, Lf/c/a/g;->c:Lf/c/a/t;
if-nez v0, :cond_c
iget-object v0, p0, Lf/c/a/g;->j:Lf/c/a/v;
iget-object v0, v0, Lf/c/a/v;->q:Ljava/lang/Double;
if-eqz v0, :cond_c
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, Lf/c/a/g;->d:Lf/c/a/u0;
new-array v1, v3, [Ljava/lang/Object;
check-cast v0, Lf/c/a/b1;
const-string v2, "Delay start configured"
invoke-virtual {v0, v2, v1}, Lf/c/a/b1;->c(Ljava/lang/String;[Ljava/lang/Object;)V
iget-object v0, p0, Lf/c/a/g;->h:Lf/c/a/g$j;
iput-boolean v4, v0, Lf/c/a/g$j;->d:Z
new-instance v0, Lf/c/a/z1;
new-instance v1, Lf/c/a/g$f;
invoke-direct {v1, p0}, Lf/c/a/g$f;-><init>(Lf/c/a/g;)V
const-string v2, "Delay Start timer"
invoke-direct {v0, v1, v2}, Lf/c/a/z1;-><init>(Ljava/lang/Runnable;Ljava/lang/String;)V
iput-object v0, p0, Lf/c/a/g;->g:Lf/c/a/z1;
:cond_c
iget-object v0, p0, Lf/c/a/g;->j:Lf/c/a/v;
iget-object v1, v0, Lf/c/a/v;->t:Ljava/lang/String;
sput-object v1, Ls/a/b/b/a;->b:Ljava/lang/String;
iget-object v0, v0, Lf/c/a/v;->a:Landroid/content/Context;
invoke-virtual {p0, v3}, Lf/c/a/g;->b(Z)Z
move-result v1
sget-object v2, Lf/c/a/z;->a:Lf/c/a/v0;
if-nez v2, :cond_d
new-instance v2, Lf/c/a/k1;
invoke-direct {v2, p0, v0, v1}, Lf/c/a/k1;-><init>(Lf/c/a/s0;Landroid/content/Context;Z)V
goto :goto_8
:cond_d
check-cast v2, Lf/c/a/k1;
new-instance v5, Ljava/lang/ref/WeakReference;
invoke-direct {v5, p0}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V
iput-object v5, v2, Lf/c/a/k1;->c:Ljava/lang/ref/WeakReference;
iput-object v0, v2, Lf/c/a/k1;->g:Landroid/content/Context;
xor-int/lit8 v0, v1, 0x1
iput-boolean v0, v2, Lf/c/a/k1;->f:Z
sget-object v2, Lf/c/a/z;->a:Lf/c/a/v0;
:goto_8
iput-object v2, p0, Lf/c/a/g;->b:Lf/c/a/v0;
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v10
new-instance v0, Lf/c/a/j1;
iget-object v6, p0, Lf/c/a/g;->j:Lf/c/a/v;
iget-object v7, p0, Lf/c/a/g;->i:Lf/c/a/q0;
iget-object v8, p0, Lf/c/a/g;->c:Lf/c/a/t;
iget-object v9, p0, Lf/c/a/g;->n:Lf/c/a/u1;
move-object v5, v0
invoke-direct/range {v5 .. v11}, Lf/c/a/j1;-><init>(Lf/c/a/v;Lf/c/a/q0;Lf/c/a/t;Lf/c/a/u1;J)V
new-instance v1, Ljava/util/HashMap;
invoke-direct {v1}, Ljava/util/HashMap;-><init>()V
invoke-virtual {v0, v1}, Lf/c/a/j1;->d(Ljava/util/Map;)V
invoke-virtual {v0, v1}, Lf/c/a/j1;->c(Ljava/util/Map;)V
invoke-virtual {v0, v1}, Lf/c/a/j1;->b(Ljava/util/Map;)V
invoke-virtual {v0, v1}, Lf/c/a/j1;->a(Ljava/util/Map;)V
sget-object v2, Lf/c/a/r;->h:Lf/c/a/r;
invoke-virtual {v0, v2}, Lf/c/a/j1;->a(Lf/c/a/r;)Lf/c/a/s;
move-result-object v0
const-string v2, "attribution"
invoke-virtual {v0, v2}, Lf/c/a/s;->b(Ljava/lang/String;)V
const-string v2, ""
invoke-virtual {v0, v2}, Lf/c/a/s;->c(Ljava/lang/String;)V
invoke-virtual {v0, v1}, Lf/c/a/s;->b(Ljava/util/Map;)V
invoke-virtual {p0, v3}, Lf/c/a/g;->b(Z)Z
move-result v1
sget-object v2, Lf/c/a/z;->c:Lf/c/a/t0;
if-nez v2, :cond_e
new-instance v2, Lf/c/a/g0;
invoke-direct {v2, p0, v0, v1}, Lf/c/a/g0;-><init>(Lf/c/a/s0;Lf/c/a/s;Z)V
goto :goto_9
:cond_e
check-cast v2, Lf/c/a/g0;
new-instance v5, Ljava/lang/ref/WeakReference;
invoke-direct {v5, p0}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V
iput-object v5, v2, Lf/c/a/g0;->b:Ljava/lang/ref/WeakReference;
iput-object v0, v2, Lf/c/a/g0;->d:Lf/c/a/s;
xor-int/lit8 v0, v1, 0x1
iput-boolean v0, v2, Lf/c/a/g0;->f:Z
sget-object v2, Lf/c/a/z;->c:Lf/c/a/t0;
:goto_9
iput-object v2, p0, Lf/c/a/g;->l:Lf/c/a/t0;
invoke-virtual {p0, v4}, Lf/c/a/g;->b(Z)Z
move-result v0
sget-object v1, Lf/c/a/z;->g:Lf/c/a/y0;
if-nez v1, :cond_f
new-instance v1, Lf/c/a/p1;
invoke-direct {v1, p0, v0}, Lf/c/a/p1;-><init>(Lf/c/a/s0;Z)V
goto :goto_a
:cond_f
check-cast v1, Lf/c/a/p1;
xor-int/2addr v0, v4
iput-boolean v0, v1, Lf/c/a/p1;->a:Z
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
iput-object v0, v1, Lf/c/a/p1;->d:Ljava/util/List;
new-instance v0, Ljava/lang/ref/WeakReference;
invoke-direct {v0, p0}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V
iput-object v0, v1, Lf/c/a/p1;->f:Ljava/lang/ref/WeakReference;
sget-object v1, Lf/c/a/z;->g:Lf/c/a/y0;
:goto_a
iput-object v1, p0, Lf/c/a/g;->m:Lf/c/a/y0;
invoke-virtual {p0}, Lf/c/a/g;->c()Z
move-result v0
if-eqz v0, :cond_10
invoke-virtual {p0}, Lf/c/a/g;->j()V
:cond_10
iget-object v0, p0, Lf/c/a/g;->j:Lf/c/a/v;
iget-object v0, v0, Lf/c/a/v;->r:Ljava/util/List;
if-nez v0, :cond_11
goto/16 :goto_e
:cond_11
invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_b
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_19
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lf/c/a/g$c;
iget-object v1, v1, Lf/c/a/g$c;->a:Lf/c/a/g;
iget-object v1, v1, Lf/c/a/g;->j:Lf/c/a/v;
iget-object v1, v1, Lf/c/a/v;->v:Ljava/lang/Boolean;
invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z
move-result v1
invoke-virtual {p0}, Lf/c/a/g;->b()Z
move-result v2
if-eq v2, v1, :cond_12
const/4 v2, 0x1
goto :goto_d
:cond_12
if-eqz v2, :cond_13
iget-object v2, p0, Lf/c/a/g;->d:Lf/c/a/u0;
new-array v5, v3, [Ljava/lang/Object;
check-cast v2, Lf/c/a/b1;
const-string v6, "Adjust already enabled"
invoke-virtual {v2, v6, v5}, Lf/c/a/b1;->a(Ljava/lang/String;[Ljava/lang/Object;)V
goto :goto_c
:cond_13
iget-object v2, p0, Lf/c/a/g;->d:Lf/c/a/u0;
new-array v5, v3, [Ljava/lang/Object;
check-cast v2, Lf/c/a/b1;
const-string v6, "Adjust already disabled"
invoke-virtual {v2, v6, v5}, Lf/c/a/b1;->a(Ljava/lang/String;[Ljava/lang/Object;)V
:goto_c
const/4 v2, 0x0
:goto_d
if-nez v2, :cond_14
goto :goto_b
:cond_14
iget-object v2, p0, Lf/c/a/g;->h:Lf/c/a/g$j;
iput-boolean v1, v2, Lf/c/a/g$j;->a:Z
iget-object v2, p0, Lf/c/a/g;->c:Lf/c/a/t;
if-nez v2, :cond_15
xor-int/lit8 v1, v1, 0x1
const-string v2, "Handlers will start as paused due to the SDK being disabled"
const-string v5, "Handlers will still start as paused"
const-string v6, "Handlers will start as active due to the SDK being enabled"
invoke-virtual {p0, v1, v2, v5, v6}, Lf/c/a/g;->a(ZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
goto :goto_b
:cond_15
if-eqz v1, :cond_18
new-instance v2, Lf/c/a/w1;
iget-object v5, p0, Lf/c/a/g;->j:Lf/c/a/v;
iget-object v5, v5, Lf/c/a/v;->a:Landroid/content/Context;
invoke-direct {v2, v5}, Lf/c/a/w1;-><init>(Landroid/content/Context;)V
invoke-virtual {v2}, Lf/c/a/w1;->a()Z
move-result v5
if-nez v5, :cond_16
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v5
invoke-virtual {p0, v5, v6}, Lf/c/a/g;->a(J)V
:cond_16
invoke-virtual {v2}, Lf/c/a/w1;->b()Ljava/lang/String;
move-result-object v5
if-eqz v5, :cond_17
iget-object v6, p0, Lf/c/a/g;->c:Lf/c/a/t;
iget-object v6, v6, Lf/c/a/t;->pushToken:Ljava/lang/String;
invoke-virtual {v5, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v6
if-nez v6, :cond_17
iget-object v6, p0, Lf/c/a/g;->a:Lf/c/a/p0;
new-instance v7, Lf/c/a/g$b;
invoke-direct {v7, p0, v4, v5}, Lf/c/a/g$b;-><init>(Lf/c/a/g;ZLjava/lang/String;)V
iget-object v5, v6, Lf/c/a/p0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
invoke-virtual {v5, v7}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
:cond_17
invoke-virtual {v2}, Lf/c/a/w1;->c()Lorg/json/JSONArray;
iget-object v2, p0, Lf/c/a/g;->a:Lf/c/a/p0;
new-instance v5, Lf/c/a/q;
invoke-direct {v5, p0}, Lf/c/a/q;-><init>(Lf/c/a/g;)V
iget-object v2, v2, Lf/c/a/p0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
invoke-virtual {v2, v5}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
:cond_18
iget-object v2, p0, Lf/c/a/g;->c:Lf/c/a/t;
iput-boolean v1, v2, Lf/c/a/t;->enabled:Z
invoke-virtual {p0}, Lf/c/a/g;->k()V
xor-int/lit8 v1, v1, 0x1
const-string v2, "Pausing handlers due to SDK being disabled"
const-string v5, "Handlers remain paused"
const-string v6, "Resuming handlers due to SDK being enabled"
invoke-virtual {p0, v1, v2, v5, v6}, Lf/c/a/g;->a(ZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
goto/16 :goto_b
:cond_19
:goto_e
new-instance v0, Lf/c/a/z0;
iget-object v1, p0, Lf/c/a/g;->j:Lf/c/a/v;
iget-object v1, v1, Lf/c/a/v;->a:Landroid/content/Context;
invoke-direct {v0, v1, p0}, Lf/c/a/z0;-><init>(Landroid/content/Context;Lf/c/a/s0;)V
invoke-virtual {p0}, Lf/c/a/g;->e()V
return-void
.end method
.method public final a(J)V
.locals 4
iget-object v0, p0, Lf/c/a/g;->c:Lf/c/a/t;
iget-wide v1, v0, Lf/c/a/t;->lastActivity:J
sub-long v1, p1, v1
iget v3, v0, Lf/c/a/t;->sessionCount:I
add-int/lit8 v3, v3, 0x1
iput v3, v0, Lf/c/a/t;->sessionCount:I
iput-wide v1, v0, Lf/c/a/t;->lastInterval:J
invoke-virtual {p0, p1, p2}, Lf/c/a/g;->b(J)V
iget-object v0, p0, Lf/c/a/g;->c:Lf/c/a/t;
invoke-virtual {v0, p1, p2}, Lf/c/a/t;->a(J)V
invoke-virtual {p0}, Lf/c/a/g;->k()V
return-void
.end method
.method public final a(Landroid/os/Handler;)V
.locals 1
iget-object v0, p0, Lf/c/a/g;->j:Lf/c/a/v;
iget-object v0, v0, Lf/c/a/v;->h:Lf/c/a/c1;
if-nez v0, :cond_0
return-void
:cond_0
new-instance v0, Lf/c/a/g$i;
invoke-direct {v0, p0}, Lf/c/a/g$i;-><init>(Lf/c/a/g;)V
invoke-virtual {p1, v0}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
return-void
.end method
.method public final a(Lf/c/a/m0;)V
.locals 5
iget-object v0, p1, Lf/c/a/o1;->c:Ljava/lang/String;
invoke-virtual {p0, v0}, Lf/c/a/g;->a(Ljava/lang/String;)V
new-instance v0, Landroid/os/Handler;
iget-object v1, p0, Lf/c/a/g;->j:Lf/c/a/v;
iget-object v1, v1, Lf/c/a/v;->a: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, Lf/c/a/o1;->g:Lcom/adjust/sdk/AdjustAttribution;
invoke-virtual {p0, v1}, Lf/c/a/g;->a(Lcom/adjust/sdk/AdjustAttribution;)Z
move-result v1
if-eqz v1, :cond_0
invoke-virtual {p0, v0}, Lf/c/a/g;->a(Landroid/os/Handler;)V
:cond_0
iget-object p1, p1, Lf/c/a/m0;->h:Landroid/net/Uri;
if-nez p1, :cond_1
goto :goto_1
:cond_1
iget-object v1, p0, Lf/c/a/g;->d:Lf/c/a/u0;
const/4 v2, 0x1
new-array v2, v2, [Ljava/lang/Object;
const/4 v3, 0x0
aput-object p1, v2, v3
check-cast v1, Lf/c/a/b1;
const-string v3, "Deferred deeplink received (%s)"
invoke-virtual {v1, v3, v2}, Lf/c/a/b1;->c(Ljava/lang/String;[Ljava/lang/Object;)V
iget-object v1, p0, Lf/c/a/g;->j:Lf/c/a/v;
iget-object v2, v1, Lf/c/a/v;->j:Ljava/lang/Class;
const-string v3, "android.intent.action.VIEW"
if-nez v2, :cond_2
new-instance v1, Landroid/content/Intent;
invoke-direct {v1, v3, p1}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V
goto :goto_0
:cond_2
new-instance v4, Landroid/content/Intent;
iget-object v1, v1, Lf/c/a/v;->a:Landroid/content/Context;
invoke-direct {v4, v3, p1, v1, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;Landroid/content/Context;Ljava/lang/Class;)V
move-object v1, v4
:goto_0
const/high16 v2, 0x10000000
invoke-virtual {v1, v2}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;
iget-object v2, p0, Lf/c/a/g;->j:Lf/c/a/v;
iget-object v2, v2, Lf/c/a/v;->a: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, Lf/c/a/m;
invoke-direct {v2, p0, p1, v1}, Lf/c/a/m;-><init>(Lf/c/a/g;Landroid/net/Uri;Landroid/content/Intent;)V
invoke-virtual {v0, v2}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
:goto_1
return-void
.end method
.method public a(Lf/c/a/o1;)V
.locals 3
instance-of v0, p1, Lf/c/a/v1;
if-eqz v0, :cond_0
iget-object v0, p0, Lf/c/a/g;->l:Lf/c/a/t0;
check-cast p1, Lf/c/a/v1;
check-cast v0, Lf/c/a/g0;
iget-object v1, v0, Lf/c/a/g0;->a:Lf/c/a/p0;
new-instance v2, Lf/c/a/i0;
invoke-direct {v2, v0, p1}, Lf/c/a/i0;-><init>(Lf/c/a/g0;Lf/c/a/v1;)V
iget-object p1, v1, Lf/c/a/p0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
invoke-virtual {p1, v2}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
return-void
:cond_0
instance-of v0, p1, Lf/c/a/t1;
if-eqz v0, :cond_2
check-cast p1, Lf/c/a/t1;
iget-boolean v0, p1, Lf/c/a/t1;->h:Z
if-nez v0, :cond_1
goto :goto_0
:cond_1
iget-object v0, p0, Lf/c/a/g;->c:Lf/c/a/t;
iget-wide v1, p1, Lf/c/a/t1;->i:J
iput-wide v1, v0, Lf/c/a/t;->clickTime:J
iget-wide v1, p1, Lf/c/a/t1;->j:J
iput-wide v1, v0, Lf/c/a/t;->installBegin:J
iget-object v1, p1, Lf/c/a/t1;->k:Ljava/lang/String;
iput-object v1, v0, Lf/c/a/t;->installReferrer:Ljava/lang/String;
invoke-virtual {p0}, Lf/c/a/g;->k()V
:goto_0
iget-object v0, p0, Lf/c/a/g;->l:Lf/c/a/t0;
check-cast v0, Lf/c/a/g0;
iget-object v1, v0, Lf/c/a/g0;->a:Lf/c/a/p0;
new-instance v2, Lf/c/a/j0;
invoke-direct {v2, v0, p1}, Lf/c/a/j0;-><init>(Lf/c/a/g0;Lf/c/a/t1;)V
iget-object p1, v1, Lf/c/a/p0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
invoke-virtual {p1, v2}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
return-void
:cond_2
instance-of v0, p1, Lf/c/a/r0;
if-eqz v0, :cond_3
check-cast p1, Lf/c/a/r0;
iget-object v0, p0, Lf/c/a/g;->a:Lf/c/a/p0;
new-instance v1, Lf/c/a/b;
invoke-direct {v1, p0, p1}, Lf/c/a/b;-><init>(Lf/c/a/g;Lf/c/a/r0;)V
iget-object p1, v0, Lf/c/a/p0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
invoke-virtual {p1, v1}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
:cond_3
return-void
.end method
.method public final a(Lf/c/a/r0;)V
.locals 4
iget-object v0, p1, Lf/c/a/o1;->c:Ljava/lang/String;
invoke-virtual {p0, v0}, Lf/c/a/g;->a(Ljava/lang/String;)V
new-instance v0, Landroid/os/Handler;
iget-object v1, p0, Lf/c/a/g;->j:Lf/c/a/v;
iget-object v1, v1, Lf/c/a/v;->a: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, Lf/c/a/o1;->d:Z
const/4 v2, 0x0
if-eqz v1, :cond_0
iget-object v1, p0, Lf/c/a/g;->j:Lf/c/a/v;
iget-object v1, v1, Lf/c/a/v;->k:Lf/c/a/g1;
if-eqz v1, :cond_0
iget-object v1, p0, Lf/c/a/g;->d:Lf/c/a/u0;
new-array v2, v2, [Ljava/lang/Object;
check-cast v1, Lf/c/a/b1;
const-string v3, "Launching success event tracking listener"
invoke-virtual {v1, v3, v2}, Lf/c/a/b1;->a(Ljava/lang/String;[Ljava/lang/Object;)V
new-instance v1, Lf/c/a/g$g;
invoke-direct {v1, p0, p1}, Lf/c/a/g$g;-><init>(Lf/c/a/g;Lf/c/a/r0;)V
invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
return-void
:cond_0
iget-boolean v1, p1, Lf/c/a/o1;->d:Z
if-nez v1, :cond_1
iget-object v1, p0, Lf/c/a/g;->j:Lf/c/a/v;
iget-object v1, v1, Lf/c/a/v;->l:Lf/c/a/f1;
if-eqz v1, :cond_1
iget-object v1, p0, Lf/c/a/g;->d:Lf/c/a/u0;
new-array v2, v2, [Ljava/lang/Object;
check-cast v1, Lf/c/a/b1;
const-string v3, "Launching failed event tracking listener"
invoke-virtual {v1, v3, v2}, Lf/c/a/b1;->a(Ljava/lang/String;[Ljava/lang/Object;)V
new-instance v1, Lf/c/a/g$h;
invoke-direct {v1, p0, p1}, Lf/c/a/g$h;-><init>(Lf/c/a/g;Lf/c/a/r0;)V
invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
:cond_1
return-void
.end method
.method public final a(Lf/c/a/t1;)V
.locals 2
iget-object v0, p1, Lf/c/a/o1;->c:Ljava/lang/String;
invoke-virtual {p0, v0}, Lf/c/a/g;->a(Ljava/lang/String;)V
new-instance v0, Landroid/os/Handler;
iget-object v1, p0, Lf/c/a/g;->j:Lf/c/a/v;
iget-object v1, v1, Lf/c/a/v;->a: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, Lf/c/a/o1;->g:Lcom/adjust/sdk/AdjustAttribution;
invoke-virtual {p0, p1}, Lf/c/a/g;->a(Lcom/adjust/sdk/AdjustAttribution;)Z
move-result p1
if-eqz p1, :cond_0
invoke-virtual {p0, v0}, Lf/c/a/g;->a(Landroid/os/Handler;)V
:cond_0
return-void
.end method
.method public final a(Lf/c/a/v1;)V
.locals 4
iget-object v0, p1, Lf/c/a/o1;->c:Ljava/lang/String;
invoke-virtual {p0, v0}, Lf/c/a/g;->a(Ljava/lang/String;)V
new-instance v0, Landroid/os/Handler;
iget-object v1, p0, Lf/c/a/g;->j:Lf/c/a/v;
iget-object v1, v1, Lf/c/a/v;->a: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, Lf/c/a/o1;->g:Lcom/adjust/sdk/AdjustAttribution;
invoke-virtual {p0, v1}, Lf/c/a/g;->a(Lcom/adjust/sdk/AdjustAttribution;)Z
move-result v1
if-eqz v1, :cond_0
invoke-virtual {p0, v0}, Lf/c/a/g;->a(Landroid/os/Handler;)V
:cond_0
iget-boolean v1, p1, Lf/c/a/o1;->d:Z
if-eqz v1, :cond_1
new-instance v1, Lf/c/a/w1;
iget-object v2, p0, Lf/c/a/g;->j:Lf/c/a/v;
iget-object v2, v2, Lf/c/a/v;->a:Landroid/content/Context;
invoke-direct {v1, v2}, Lf/c/a/w1;-><init>(Landroid/content/Context;)V
invoke-virtual {v1}, Lf/c/a/w1;->e()V
:cond_1
iget-boolean v1, p1, Lf/c/a/o1;->d:Z
const/4 v2, 0x0
if-eqz v1, :cond_2
iget-object v1, p0, Lf/c/a/g;->j:Lf/c/a/v;
iget-object v1, v1, Lf/c/a/v;->m:Lf/c/a/i1;
if-eqz v1, :cond_2
iget-object v1, p0, Lf/c/a/g;->d:Lf/c/a/u0;
new-array v2, v2, [Ljava/lang/Object;
check-cast v1, Lf/c/a/b1;
const-string v3, "Launching success session tracking listener"
invoke-virtual {v1, v3, v2}, Lf/c/a/b1;->a(Ljava/lang/String;[Ljava/lang/Object;)V
new-instance v1, Lf/c/a/k;
invoke-direct {v1, p0, p1}, Lf/c/a/k;-><init>(Lf/c/a/g;Lf/c/a/v1;)V
invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
goto :goto_0
:cond_2
iget-boolean v1, p1, Lf/c/a/o1;->d:Z
if-nez v1, :cond_3
iget-object v1, p0, Lf/c/a/g;->j:Lf/c/a/v;
iget-object v1, v1, Lf/c/a/v;->n:Lf/c/a/h1;
if-eqz v1, :cond_3
iget-object v1, p0, Lf/c/a/g;->d:Lf/c/a/u0;
new-array v2, v2, [Ljava/lang/Object;
check-cast v1, Lf/c/a/b1;
const-string v3, "Launching failed session tracking listener"
invoke-virtual {v1, v3, v2}, Lf/c/a/b1;->a(Ljava/lang/String;[Ljava/lang/Object;)V
new-instance v1, Lf/c/a/l;
invoke-direct {v1, p0, p1}, Lf/c/a/l;-><init>(Lf/c/a/g;Lf/c/a/v1;)V
invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
:cond_3
:goto_0
iget-object p1, p0, Lf/c/a/g;->h:Lf/c/a/g$j;
const/4 v0, 0x1
iput-boolean v0, p1, Lf/c/a/g$j;->g:Z
return-void
.end method
.method public a(Lf/c/a/v;)V
.locals 0
iput-object p1, p0, Lf/c/a/g;->j:Lf/c/a/v;
return-void
.end method
.method public final a(Ljava/lang/String;)V
.locals 1
if-nez p1, :cond_0
return-void
:cond_0
iget-object v0, p0, Lf/c/a/g;->c:Lf/c/a/t;
iget-object v0, v0, Lf/c/a/t;->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, Lf/c/a/g;->c:Lf/c/a/t;
iput-object p1, v0, Lf/c/a/t;->adid:Ljava/lang/String;
invoke-virtual {p0}, Lf/c/a/g;->k()V
return-void
.end method
.method public a(Ljava/lang/String;Z)V
.locals 2
iget-object v0, p0, Lf/c/a/g;->a:Lf/c/a/p0;
new-instance v1, Lf/c/a/g$b;
invoke-direct {v1, p0, p2, p1}, Lf/c/a/g$b;-><init>(Lf/c/a/g;ZLjava/lang/String;)V
iget-object p1, v0, Lf/c/a/p0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
invoke-virtual {p1, v1}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
return-void
.end method
.method public final 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, Lf/c/a/g;->d:Lf/c/a/u0;
new-array p3, v0, [Ljava/lang/Object;
check-cast p1, Lf/c/a/b1;
invoke-virtual {p1, p2, p3}, Lf/c/a/b1;->c(Ljava/lang/String;[Ljava/lang/Object;)V
goto :goto_0
:cond_0
invoke-virtual {p0, v0}, Lf/c/a/g;->a(Z)Z
move-result p1
if-eqz p1, :cond_2
const/4 p1, 0x1
invoke-virtual {p0, p1}, Lf/c/a/g;->a(Z)Z
move-result p1
if-eqz p1, :cond_1
iget-object p1, p0, Lf/c/a/g;->d:Lf/c/a/u0;
new-array p2, v0, [Ljava/lang/Object;
check-cast p1, Lf/c/a/b1;
invoke-virtual {p1, p3, p2}, Lf/c/a/b1;->c(Ljava/lang/String;[Ljava/lang/Object;)V
goto :goto_0
:cond_1
iget-object p1, p0, Lf/c/a/g;->d:Lf/c/a/u0;
const-string p2, ", except the Sdk Click Handler"
invoke-static {p3, p2}, Lf/e/b/a/a;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object p2
new-array p3, v0, [Ljava/lang/Object;
check-cast p1, Lf/c/a/b1;
invoke-virtual {p1, p2, p3}, Lf/c/a/b1;->c(Ljava/lang/String;[Ljava/lang/Object;)V
goto :goto_0
:cond_2
iget-object p1, p0, Lf/c/a/g;->d:Lf/c/a/u0;
new-array p2, v0, [Ljava/lang/Object;
check-cast p1, Lf/c/a/b1;
invoke-virtual {p1, p4, p2}, Lf/c/a/b1;->c(Ljava/lang/String;[Ljava/lang/Object;)V
:goto_0
invoke-virtual {p0}, Lf/c/a/g;->i()V
return-void
.end method
.method public a(Lcom/adjust/sdk/AdjustAttribution;)Z
.locals 2
const/4 v0, 0x0
if-nez p1, :cond_0
return v0
:cond_0
iget-object v1, p0, Lf/c/a/g;->k: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, Lf/c/a/g;->k:Lcom/adjust/sdk/AdjustAttribution;
invoke-virtual {p0}, Lf/c/a/g;->l()V
const/4 p1, 0x1
return p1
.end method
.method public final a(Lf/c/a/t;)Z
.locals 3
if-nez p1, :cond_0
iget-object p1, p0, Lf/c/a/g;->d:Lf/c/a/u0;
const/4 v0, 0x0
new-array v1, v0, [Ljava/lang/Object;
check-cast p1, Lf/c/a/b1;
const-string v2, "Missing activity state"
invoke-virtual {p1, v2, v1}, Lf/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V
return v0
:cond_0
const/4 p1, 0x1
return p1
.end method
.method public final a(Z)Z
.locals 2
const/4 v0, 0x1
const/4 v1, 0x0
if-eqz p1, :cond_2
iget-object p1, p0, Lf/c/a/g;->h:Lf/c/a/g$j;
iget-boolean p1, p1, Lf/c/a/g$j;->b:Z
if-nez p1, :cond_1
invoke-virtual {p0}, Lf/c/a/g;->b()Z
move-result p1
if-nez p1, :cond_0
goto :goto_0
:cond_0
const/4 v0, 0x0
:cond_1
:goto_0
return v0
:cond_2
iget-object p1, p0, Lf/c/a/g;->h:Lf/c/a/g$j;
iget-boolean p1, p1, Lf/c/a/g$j;->b:Z
if-nez p1, :cond_4
invoke-virtual {p0}, Lf/c/a/g;->b()Z
move-result p1
if-eqz p1, :cond_4
iget-object p1, p0, Lf/c/a/g;->h:Lf/c/a/g$j;
iget-boolean p1, p1, Lf/c/a/g$j;->d:Z
if-eqz p1, :cond_3
goto :goto_1
:cond_3
const/4 v0, 0x0
:cond_4
:goto_1
return v0
.end method
.method public final b(J)V
.locals 8
new-instance v7, Lf/c/a/j1;
iget-object v1, p0, Lf/c/a/g;->j:Lf/c/a/v;
iget-object v2, p0, Lf/c/a/g;->i:Lf/c/a/q0;
iget-object v3, p0, Lf/c/a/g;->c:Lf/c/a/t;
iget-object v4, p0, Lf/c/a/g;->n:Lf/c/a/u1;
move-object v0, v7
move-wide v5, p1
invoke-direct/range {v0 .. v6}, Lf/c/a/j1;-><init>(Lf/c/a/v;Lf/c/a/q0;Lf/c/a/t;Lf/c/a/u1;J)V
iget-object p1, p0, Lf/c/a/g;->h:Lf/c/a/g$j;
iget-boolean p1, p1, Lf/c/a/g$j;->d:Z
invoke-virtual {v7, p1}, Lf/c/a/j1;->a(Z)Ljava/util/Map;
move-result-object p1
sget-object p2, Lf/c/a/r;->e:Lf/c/a/r;
invoke-virtual {v7, p2}, Lf/c/a/j1;->a(Lf/c/a/r;)Lf/c/a/s;
move-result-object p2
const-string v0, "/session"
invoke-virtual {p2, v0}, Lf/c/a/s;->b(Ljava/lang/String;)V
const-string v0, ""
invoke-virtual {p2, v0}, Lf/c/a/s;->c(Ljava/lang/String;)V
invoke-virtual {p2, p1}, Lf/c/a/s;->b(Ljava/util/Map;)V
iget-object p1, p0, Lf/c/a/g;->b:Lf/c/a/v0;
check-cast p1, Lf/c/a/k1;
iget-object v0, p1, Lf/c/a/k1;->a:Lf/c/a/p0;
new-instance v1, Lf/c/a/l1;
invoke-direct {v1, p1, p2}, Lf/c/a/l1;-><init>(Lf/c/a/k1;Lf/c/a/s;)V
iget-object p1, v0, Lf/c/a/p0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
invoke-virtual {p1, v1}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
iget-object p1, p0, Lf/c/a/g;->b:Lf/c/a/v0;
check-cast p1, Lf/c/a/k1;
invoke-virtual {p1}, Lf/c/a/k1;->c()V
return-void
.end method
.method public final b()Z
.locals 1
iget-object v0, p0, Lf/c/a/g;->c:Lf/c/a/t;
if-eqz v0, :cond_0
iget-boolean v0, v0, Lf/c/a/t;->enabled:Z
return v0
:cond_0
iget-object v0, p0, Lf/c/a/g;->h:Lf/c/a/g$j;
iget-boolean v0, v0, Lf/c/a/g$j;->a:Z
return v0
.end method
.method public final b(Z)Z
.locals 1
invoke-virtual {p0, p1}, Lf/c/a/g;->a(Z)Z
move-result p1
if-eqz p1, :cond_0
const/4 p1, 0x0
return p1
:cond_0
iget-object p1, p0, Lf/c/a/g;->j:Lf/c/a/v;
iget-boolean p1, p1, Lf/c/a/v;->p:Z
const/4 v0, 0x1
if-eqz p1, :cond_1
return v0
:cond_1
iget-object p1, p0, Lf/c/a/g;->h:Lf/c/a/g$j;
iget-boolean p1, p1, Lf/c/a/g$j;->c:Z
xor-int/2addr p1, v0
return p1
.end method
.method public final c()Z
.locals 1
iget-object v0, p0, Lf/c/a/g;->c:Lf/c/a/t;
if-eqz v0, :cond_0
iget-boolean v0, v0, Lf/c/a/t;->updatePackages:Z
return v0
:cond_0
iget-object v0, p0, Lf/c/a/g;->h:Lf/c/a/g$j;
iget-boolean v0, v0, Lf/c/a/g$j;->e:Z
return v0
.end method
.method public final c(J)Z
.locals 7
iget-object v0, p0, Lf/c/a/g;->c:Lf/c/a/t;
invoke-virtual {p0, v0}, Lf/c/a/g;->a(Lf/c/a/t;)Z
move-result v0
const/4 v1, 0x0
if-nez v0, :cond_0
return v1
:cond_0
iget-object v0, p0, Lf/c/a/g;->c:Lf/c/a/t;
iget-wide v2, v0, Lf/c/a/t;->lastActivity:J
sub-long v2, p1, v2
sget-wide v4, Lf/c/a/g;->r:J
cmp-long v6, v2, v4
if-lez v6, :cond_1
return v1
:cond_1
iput-wide p1, v0, Lf/c/a/t;->lastActivity:J
const-wide/16 p1, 0x0
cmp-long v4, v2, p1
if-gez v4, :cond_2
iget-object p1, p0, Lf/c/a/g;->d:Lf/c/a/u0;
new-array p2, v1, [Ljava/lang/Object;
check-cast p1, Lf/c/a/b1;
const-string v0, "Time travel!"
invoke-virtual {p1, v0, p2}, Lf/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V
goto :goto_0
:cond_2
iget-wide p1, v0, Lf/c/a/t;->sessionLength:J
add-long/2addr p1, v2
iput-wide p1, v0, Lf/c/a/t;->sessionLength:J
iget-wide p1, v0, Lf/c/a/t;->timeSpent:J
add-long/2addr p1, v2
iput-wide p1, v0, Lf/c/a/t;->timeSpent:J
:goto_0
const/4 p1, 0x1
return p1
.end method
.method public final d()V
.locals 2
iget-object v0, p0, Lf/c/a/g;->l:Lf/c/a/t0;
check-cast v0, Lf/c/a/g0;
const/4 v1, 0x1
iput-boolean v1, v0, Lf/c/a/g0;->f:Z
iget-object v0, p0, Lf/c/a/g;->b:Lf/c/a/v0;
check-cast v0, Lf/c/a/k1;
iput-boolean v1, v0, Lf/c/a/k1;->f:Z
invoke-virtual {p0, v1}, Lf/c/a/g;->b(Z)Z
move-result v0
if-nez v0, :cond_0
iget-object v0, p0, Lf/c/a/g;->m:Lf/c/a/y0;
check-cast v0, Lf/c/a/p1;
iput-boolean v1, v0, Lf/c/a/p1;->a:Z
goto :goto_0
:cond_0
iget-object v0, p0, Lf/c/a/g;->m:Lf/c/a/y0;
check-cast v0, Lf/c/a/p1;
invoke-virtual {v0}, Lf/c/a/p1;->a()V
:goto_0
return-void
.end method
.method public final e()V
.locals 3
invoke-virtual {p0}, Lf/c/a/g;->b()Z
move-result v0
if-nez v0, :cond_0
return-void
:cond_0
iget-object v0, p0, Lf/c/a/g;->m:Lf/c/a/y0;
check-cast v0, Lf/c/a/p1;
iget-object v1, v0, Lf/c/a/p1;->e:Lf/c/a/p0;
new-instance v2, Lf/c/a/q1;
invoke-direct {v2, v0}, Lf/c/a/q1;-><init>(Lf/c/a/p1;)V
iget-object v0, v1, Lf/c/a/p0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
invoke-virtual {v0, v2}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
return-void
.end method
.method public final f()V
.locals 5
iget-object v0, p0, Lf/c/a/g;->f:Lf/c/a/z1;
if-nez v0, :cond_0
return-void
:cond_0
invoke-virtual {p0}, Lf/c/a/g;->h()Z
move-result v0
if-nez v0, :cond_1
return-void
:cond_1
iget-object v0, p0, Lf/c/a/g;->f:Lf/c/a/z1;
invoke-virtual {v0}, Lf/c/a/z1;->b()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, Lf/c/a/g;->f:Lf/c/a/z1;
sget-wide v1, Lf/c/a/g;->q:J
invoke-virtual {v0, v1, v2}, Lf/c/a/z1;->a(J)V
return-void
.end method
.method public final g()V
.locals 8
iget-object v0, p0, Lf/c/a/g;->e:Lf/c/a/y1;
iget-boolean v1, v0, Lf/c/a/y1;->g:Z
const/4 v2, 0x1
const/4 v3, 0x0
if-eqz v1, :cond_0
iget-object v1, v0, Lf/c/a/y1;->h:Lf/c/a/u0;
new-array v2, v2, [Ljava/lang/Object;
iget-object v0, v0, Lf/c/a/y1;->c:Ljava/lang/String;
aput-object v0, v2, v3
check-cast v1, Lf/c/a/b1;
const-string v0, "%s is already suspended"
invoke-virtual {v1, v0, v2}, Lf/c/a/b1;->d(Ljava/lang/String;[Ljava/lang/Object;)V
goto :goto_0
:cond_0
iget-object v1, v0, Lf/c/a/y1;->b: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, Lf/c/a/y1;->e:J
iget-object v1, v0, Lf/c/a/y1;->b:Ljava/util/concurrent/ScheduledFuture;
invoke-interface {v1, v3}, Ljava/util/concurrent/ScheduledFuture;->cancel(Z)Z
sget-object v1, Lf/c/a/a2;->a:Ljava/text/DecimalFormat;
iget-wide v4, v0, Lf/c/a/y1;->e:J
long-to-double v4, v4
const-wide v6, 0x408f400000000000L # 1000.0
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, Lf/c/a/y1;->h:Lf/c/a/u0;
const/4 v5, 0x2
new-array v5, v5, [Ljava/lang/Object;
iget-object v6, v0, Lf/c/a/y1;->c:Ljava/lang/String;
aput-object v6, v5, v3
aput-object v1, v5, v2
check-cast v4, Lf/c/a/b1;
const-string v1, "%s suspended with %s seconds left"
invoke-virtual {v4, v1, v5}, Lf/c/a/b1;->d(Ljava/lang/String;[Ljava/lang/Object;)V
iput-boolean v2, v0, Lf/c/a/y1;->g:Z
:goto_0
return-void
.end method
.method public final h()Z
.locals 1
const/4 v0, 0x0
invoke-virtual {p0, v0}, Lf/c/a/g;->b(Z)Z
move-result v0
return v0
.end method
.method public final i()V
.locals 2
invoke-virtual {p0}, Lf/c/a/g;->h()Z
move-result v0
if-nez v0, :cond_0
invoke-virtual {p0}, Lf/c/a/g;->d()V
return-void
:cond_0
iget-object v0, p0, Lf/c/a/g;->l:Lf/c/a/t0;
check-cast v0, Lf/c/a/g0;
const/4 v1, 0x0
iput-boolean v1, v0, Lf/c/a/g0;->f:Z
iget-object v0, p0, Lf/c/a/g;->b:Lf/c/a/v0;
check-cast v0, Lf/c/a/k1;
iput-boolean v1, v0, Lf/c/a/k1;->f:Z
iget-object v0, p0, Lf/c/a/g;->m:Lf/c/a/y0;
check-cast v0, Lf/c/a/p1;
invoke-virtual {v0}, Lf/c/a/p1;->a()V
iget-object v0, p0, Lf/c/a/g;->h:Lf/c/a/g$j;
iget-boolean v1, v0, Lf/c/a/g$j;->f:Z
if-eqz v1, :cond_1
iget-boolean v0, v0, Lf/c/a/g$j;->g:Z
xor-int/lit8 v0, v0, 0x1
if-eqz v0, :cond_1
iget-object v0, p0, Lf/c/a/g;->b:Lf/c/a/v0;
check-cast v0, Lf/c/a/k1;
invoke-virtual {v0}, Lf/c/a/k1;->c()V
:cond_1
iget-object v0, p0, Lf/c/a/g;->j:Lf/c/a/v;
iget-boolean v0, v0, Lf/c/a/v;->f:Z
if-nez v0, :cond_2
iget-object v0, p0, Lf/c/a/g;->b:Lf/c/a/v0;
check-cast v0, Lf/c/a/k1;
invoke-virtual {v0}, Lf/c/a/k1;->c()V
:cond_2
return-void
.end method
.method public final j()V
.locals 2
iget-object v0, p0, Lf/c/a/g;->b:Lf/c/a/v0;
iget-object v1, p0, Lf/c/a/g;->n:Lf/c/a/u1;
check-cast v0, Lf/c/a/k1;
invoke-virtual {v0, v1}, Lf/c/a/k1;->a(Lf/c/a/u1;)V
iget-object v0, p0, Lf/c/a/g;->h:Lf/c/a/g$j;
const/4 v1, 0x0
iput-boolean v1, v0, Lf/c/a/g$j;->e:Z
iget-object v0, p0, Lf/c/a/g;->c:Lf/c/a/t;
if-eqz v0, :cond_0
iput-boolean v1, v0, Lf/c/a/t;->updatePackages:Z
invoke-virtual {p0}, Lf/c/a/g;->k()V
:cond_0
return-void
.end method
.method public final k()V
.locals 5
const-class v0, Lf/c/a/t;
monitor-enter v0
:try_start_0
iget-object v1, p0, Lf/c/a/g;->c:Lf/c/a/t;
if-nez v1, :cond_0
monitor-exit v0
return-void
:cond_0
iget-object v1, p0, Lf/c/a/g;->c:Lf/c/a/t;
iget-object v2, p0, Lf/c/a/g;->j:Lf/c/a/v;
iget-object v2, v2, Lf/c/a/v;->a:Landroid/content/Context;
const-string v3, "AdjustIoActivityState"
const-string v4, "Activity state"
invoke-static {v1, v2, v3, v4}, Lf/c/a/a2;->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 public final l()V
.locals 5
const-class v0, Lcom/adjust/sdk/AdjustAttribution;
monitor-enter v0
:try_start_0
iget-object v1, p0, Lf/c/a/g;->k:Lcom/adjust/sdk/AdjustAttribution;
if-nez v1, :cond_0
monitor-exit v0
return-void
:cond_0
iget-object v1, p0, Lf/c/a/g;->k:Lcom/adjust/sdk/AdjustAttribution;
iget-object v2, p0, Lf/c/a/g;->j:Lf/c/a/v;
iget-object v2, v2, Lf/c/a/v;->a:Landroid/content/Context;
const-string v3, "AdjustAttribution"
const-string v4, "Attribution"
invoke-static {v1, v2, v3, v4}, Lf/c/a/a2;->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