.class public Lf/c/a/a$e; .super Ljava/lang/Object; .source "ActivityHandler.java" # interfaces .implements Ljava/lang/Runnable; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lf/c/a/a;->(Lf/c/a/r;)V .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x1 name = null .end annotation # instance fields .field public final synthetic d:Lf/c/a/a; # direct methods .method public constructor (Lf/c/a/a;)V .locals 0 iput-object p1, p0, Lf/c/a/a$e;->d:Lf/c/a/a; invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public run()V .locals 14 iget-object v0, p0, Lf/c/a/a$e;->d:Lf/c/a/a; const/4 v1, 0x0 if-eqz v0, :cond_11 const-wide/32 v2, 0x1b7740 sput-wide v2, Lf/c/a/a;->r:J const-wide/16 v2, 0x3e8 sput-wide v2, Lf/c/a/a;->s:J const-wide/32 v2, 0xea60 sput-wide v2, Lf/c/a/a;->o:J sput-wide v2, Lf/c/a/a;->p:J sput-wide v2, Lf/c/a/a;->q:J iget-object v2, v0, Lf/c/a/a;->j:Lf/c/a/r; iget-object v2, v2, Lf/c/a/r;->a:Landroid/content/Context; const-string v3, "Attribution" const/4 v4, 0x2 const/4 v5, 0x1 const/4 v6, 0x0 :try_start_0 const-string v7, "AdjustAttribution" const-class v8, Lcom/adjust/sdk/AdjustAttribution; invoke-static {v2, v7, v3, v8}, Lf/c/a/v1;->z(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object; move-result-object v2 check-cast v2, Lcom/adjust/sdk/AdjustAttribution; iput-object v2, v0, Lf/c/a/a;->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 v2 iget-object v7, v0, Lf/c/a/a;->d:Lf/c/a/q0; new-array v8, v4, [Ljava/lang/Object; aput-object v3, v8, v6 invoke-virtual {v2}, Ljava/lang/Exception;->getMessage()Ljava/lang/String; move-result-object v2 aput-object v2, v8, v5 check-cast v7, Lf/c/a/x0; const-string v2, "Failed to read %s file (%s)" invoke-virtual {v7, v2, v8}, Lf/c/a/x0;->b(Ljava/lang/String;[Ljava/lang/Object;)V iput-object v1, v0, Lf/c/a/a;->k:Lcom/adjust/sdk/AdjustAttribution; :goto_0 iget-object v2, v0, Lf/c/a/a;->j:Lf/c/a/r; iget-object v2, v2, Lf/c/a/r;->a:Landroid/content/Context; const-string v3, "Activity state" :try_start_1 const-string v7, "AdjustIoActivityState" const-class v8, Lf/c/a/q; invoke-static {v2, v7, v3, v8}, Lf/c/a/v1;->z(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object; move-result-object v2 check-cast v2, Lf/c/a/q; iput-object v2, v0, Lf/c/a/a;->c:Lf/c/a/q; :try_end_1 .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1 goto :goto_1 :catch_1 move-exception v2 iget-object v7, v0, Lf/c/a/a;->d:Lf/c/a/q0; new-array v8, v4, [Ljava/lang/Object; aput-object v3, v8, v6 invoke-virtual {v2}, Ljava/lang/Exception;->getMessage()Ljava/lang/String; move-result-object v2 aput-object v2, v8, v5 check-cast v7, Lf/c/a/x0; const-string v2, "Failed to read %s file (%s)" invoke-virtual {v7, v2, v8}, Lf/c/a/x0;->b(Ljava/lang/String;[Ljava/lang/Object;)V iput-object v1, v0, Lf/c/a/a;->c:Lf/c/a/q; :goto_1 new-instance v2, Lf/c/a/p1; invoke-direct {v2}, Lf/c/a/p1;->()V iput-object v2, v0, Lf/c/a/a;->n:Lf/c/a/p1; iget-object v3, v0, Lf/c/a/a;->j:Lf/c/a/r; iget-object v3, v3, Lf/c/a/r;->a:Landroid/content/Context; const-string v7, "Session Callback parameters" :try_start_2 const-string v8, "AdjustSessionCallbackParameters" const-class v9, Ljava/util/Map; invoke-static {v3, v8, v7, v9}, Lf/c/a/v1;->z(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object; move-result-object v3 check-cast v3, Ljava/util/Map; iput-object v3, v2, Lf/c/a/p1;->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 v2 iget-object v3, v0, Lf/c/a/a;->d:Lf/c/a/q0; new-array v8, v4, [Ljava/lang/Object; aput-object v7, v8, v6 invoke-virtual {v2}, Ljava/lang/Exception;->getMessage()Ljava/lang/String; move-result-object v2 aput-object v2, v8, v5 check-cast v3, Lf/c/a/x0; const-string v2, "Failed to read %s file (%s)" invoke-virtual {v3, v2, v8}, Lf/c/a/x0;->b(Ljava/lang/String;[Ljava/lang/Object;)V iget-object v2, v0, Lf/c/a/a;->n:Lf/c/a/p1; iput-object v1, v2, Lf/c/a/p1;->a:Ljava/util/Map; :goto_2 iget-object v2, v0, Lf/c/a/a;->j:Lf/c/a/r; iget-object v2, v2, Lf/c/a/r;->a:Landroid/content/Context; const-string v3, "Session Partner parameters" :try_start_3 iget-object v7, v0, Lf/c/a/a;->n:Lf/c/a/p1; const-string v8, "AdjustSessionPartnerParameters" const-class v9, Ljava/util/Map; invoke-static {v2, v8, v3, v9}, Lf/c/a/v1;->z(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, v7, Lf/c/a/p1;->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 v2 iget-object v7, v0, Lf/c/a/a;->d:Lf/c/a/q0; new-array v4, v4, [Ljava/lang/Object; aput-object v3, v4, v6 invoke-virtual {v2}, Ljava/lang/Exception;->getMessage()Ljava/lang/String; move-result-object v2 aput-object v2, v4, v5 check-cast v7, Lf/c/a/x0; const-string v2, "Failed to read %s file (%s)" invoke-virtual {v7, v2, v4}, Lf/c/a/x0;->b(Ljava/lang/String;[Ljava/lang/Object;)V iget-object v2, v0, Lf/c/a/a;->n:Lf/c/a/p1; iput-object v1, v2, Lf/c/a/p1;->b:Ljava/util/Map; :goto_3 iget-object v1, v0, Lf/c/a/a;->j:Lf/c/a/r; iget-object v2, v1, Lf/c/a/r;->v:Ljava/lang/Boolean; if-eqz v2, :cond_1 iget-object v2, v1, Lf/c/a/r;->r:Ljava/util/List; if-nez v2, :cond_0 new-instance v2, Ljava/util/ArrayList; invoke-direct {v2}, Ljava/util/ArrayList;->()V iput-object v2, v1, Lf/c/a/r;->r:Ljava/util/List; :cond_0 iget-object v1, v0, Lf/c/a/a;->j:Lf/c/a/r; iget-object v1, v1, Lf/c/a/r;->r:Ljava/util/List; new-instance v2, Lf/c/a/f; invoke-direct {v2, v0}, Lf/c/a/f;->(Lf/c/a/a;)V invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z :cond_1 iget-object v1, v0, Lf/c/a/a;->c:Lf/c/a/q; if-eqz v1, :cond_2 iget-object v2, v0, Lf/c/a/a;->h:Lf/c/a/a$m; iget-boolean v3, v1, Lf/c/a/q;->enabled:Z iput-boolean v3, v2, Lf/c/a/a$m;->a:Z iget-boolean v1, v1, Lf/c/a/q;->updatePackages:Z iput-boolean v1, v2, Lf/c/a/a$m;->e:Z iput-boolean v6, v2, Lf/c/a/a$m;->f:Z goto :goto_4 :cond_2 iget-object v1, v0, Lf/c/a/a;->h:Lf/c/a/a$m; iput-boolean v5, v1, Lf/c/a/a$m;->f:Z :goto_4 iget-object v1, v0, Lf/c/a/a;->j:Lf/c/a/r; iget-object v1, v1, Lf/c/a/r;->a:Landroid/content/Context; :try_start_4 invoke-virtual {v1}, Landroid/content/Context;->getAssets()Landroid/content/res/AssetManager; move-result-object v1 const-string v2, "adjust_config.properties" invoke-virtual {v1, v2}, Landroid/content/res/AssetManager;->open(Ljava/lang/String;)Ljava/io/InputStream; move-result-object v1 new-instance v2, Ljava/util/Properties; invoke-direct {v2}, Ljava/util/Properties;->()V invoke-virtual {v2, v1}, 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 v1, v0, Lf/c/a/a;->d:Lf/c/a/q0; new-array v3, v6, [Ljava/lang/Object; check-cast v1, Lf/c/a/x0; const-string v4, "adjust_config.properties file read and loaded" invoke-virtual {v1, v4, v3}, Lf/c/a/x0;->d(Ljava/lang/String;[Ljava/lang/Object;)V const-string v1, "defaultTracker" invoke-virtual {v2, v1}, Ljava/util/Properties;->getProperty(Ljava/lang/String;)Ljava/lang/String; move-result-object v1 if-eqz v1, :cond_3 iget-object v2, v0, Lf/c/a/a;->j:Lf/c/a/r; iput-object v1, v2, Lf/c/a/r;->g:Ljava/lang/String; goto :goto_5 :catch_4 move-exception v1 iget-object v2, v0, Lf/c/a/a;->d:Lf/c/a/q0; new-array v3, v5, [Ljava/lang/Object; invoke-virtual {v1}, Ljava/lang/Exception;->getMessage()Ljava/lang/String; move-result-object v1 aput-object v1, v3, v6 check-cast v2, Lf/c/a/x0; const-string v1, "%s file not found in this app" invoke-virtual {v2, v1, v3}, Lf/c/a/x0;->a(Ljava/lang/String;[Ljava/lang/Object;)V :cond_3 :goto_5 new-instance v1, Lf/c/a/m0; iget-object v2, v0, Lf/c/a/a;->j:Lf/c/a/r; iget-object v3, v2, Lf/c/a/r;->a:Landroid/content/Context; iget-object v2, v2, Lf/c/a/r;->e:Ljava/lang/String; invoke-direct {v1, v3, v2}, Lf/c/a/m0;->(Landroid/content/Context;Ljava/lang/String;)V iput-object v1, v0, Lf/c/a/a;->i:Lf/c/a/m0; iget-object v1, v0, Lf/c/a/a;->j:Lf/c/a/r; iget-boolean v1, v1, Lf/c/a/r;->f:Z if-eqz v1, :cond_4 iget-object v1, v0, Lf/c/a/a;->d:Lf/c/a/q0; const-string v2, "Event buffering is enabled" new-array v3, v6, [Ljava/lang/Object; check-cast v1, Lf/c/a/x0; invoke-virtual {v1, v2, v3}, Lf/c/a/x0;->c(Ljava/lang/String;[Ljava/lang/Object;)V :cond_4 iget-object v1, v0, Lf/c/a/a;->i:Lf/c/a/m0; iget-object v1, v1, Lf/c/a/m0;->a:Ljava/lang/String; if-nez v1, :cond_5 iget-object v1, v0, Lf/c/a/a;->d:Lf/c/a/q0; const-string v2, "Unable to get Google Play Services Advertising ID at start time" new-array v3, v6, [Ljava/lang/Object; check-cast v1, Lf/c/a/x0; invoke-virtual {v1, v2, v3}, Lf/c/a/x0;->e(Ljava/lang/String;[Ljava/lang/Object;)V iget-object v1, v0, Lf/c/a/a;->i:Lf/c/a/m0; iget-object v2, v1, Lf/c/a/m0;->d:Ljava/lang/String; if-nez v2, :cond_6 iget-object v2, v1, Lf/c/a/m0;->e:Ljava/lang/String; if-nez v2, :cond_6 iget-object v1, v1, Lf/c/a/m0;->f:Ljava/lang/String; if-nez v1, :cond_6 iget-object v1, v0, Lf/c/a/a;->d:Lf/c/a/q0; const-string v2, "Unable to get any device id\'s. Please check if Proguard is correctly set with Adjust SDK" new-array v3, v6, [Ljava/lang/Object; check-cast v1, Lf/c/a/x0; invoke-virtual {v1, v2, v3}, Lf/c/a/x0;->b(Ljava/lang/String;[Ljava/lang/Object;)V goto :goto_6 :cond_5 iget-object v1, v0, Lf/c/a/a;->d:Lf/c/a/q0; const-string v2, "Google Play Services Advertising ID read correctly at start time" new-array v3, v6, [Ljava/lang/Object; check-cast v1, Lf/c/a/x0; invoke-virtual {v1, v2, v3}, Lf/c/a/x0;->c(Ljava/lang/String;[Ljava/lang/Object;)V :cond_6 :goto_6 iget-object v1, v0, Lf/c/a/a;->j:Lf/c/a/r; iget-object v1, v1, Lf/c/a/r;->g:Ljava/lang/String; if-eqz v1, :cond_7 iget-object v2, v0, Lf/c/a/a;->d:Lf/c/a/q0; const-string v3, "Default tracker: \'%s\'" new-array v4, v5, [Ljava/lang/Object; aput-object v1, v4, v6 check-cast v2, Lf/c/a/x0; invoke-virtual {v2, v3, v4}, Lf/c/a/x0;->c(Ljava/lang/String;[Ljava/lang/Object;)V :cond_7 iget-object v1, v0, Lf/c/a/a;->j:Lf/c/a/r; iget-object v2, v1, Lf/c/a/r;->u:Ljava/lang/String; if-eqz v2, :cond_9 iget-object v1, v0, Lf/c/a/a;->d:Lf/c/a/q0; const-string v3, "Push token: \'%s\'" new-array v4, v5, [Ljava/lang/Object; aput-object v2, v4, v6 check-cast v1, Lf/c/a/x0; invoke-virtual {v1, v3, v4}, Lf/c/a/x0;->c(Ljava/lang/String;[Ljava/lang/Object;)V iget-object v1, v0, Lf/c/a/a;->c:Lf/c/a/q; if-eqz v1, :cond_8 iget-object v1, v0, Lf/c/a/a;->j:Lf/c/a/r; iget-object v1, v1, Lf/c/a/r;->u:Ljava/lang/String; invoke-virtual {v0, v1, v6}, Lf/c/a/a;->t(Ljava/lang/String;Z)V goto :goto_7 :cond_8 new-instance v1, Lf/c/a/r1; iget-object v2, v0, Lf/c/a/a;->j:Lf/c/a/r; iget-object v2, v2, Lf/c/a/r;->a:Landroid/content/Context; invoke-direct {v1, v2}, Lf/c/a/r1;->(Landroid/content/Context;)V iget-object v2, v0, Lf/c/a/a;->j:Lf/c/a/r; iget-object v2, v2, Lf/c/a/r;->u:Ljava/lang/String; monitor-enter v1 :try_start_5 const-string v3, "push_token" invoke-virtual {v1, v3, v2}, Lf/c/a/r1;->i(Ljava/lang/String;Ljava/lang/String;)V :try_end_5 .catchall {:try_start_5 .. :try_end_5} :catchall_0 monitor-exit v1 goto :goto_7 :catchall_0 move-exception v0 monitor-exit v1 throw v0 :cond_9 iget-object v2, v0, Lf/c/a/a;->c:Lf/c/a/q; if-eqz v2, :cond_a new-instance v2, Lf/c/a/r1; iget-object v1, v1, Lf/c/a/r;->a:Landroid/content/Context; invoke-direct {v2, v1}, Lf/c/a/r1;->(Landroid/content/Context;)V invoke-virtual {v2}, Lf/c/a/r1;->a()Ljava/lang/String; move-result-object v1 invoke-virtual {v0, v1, v5}, Lf/c/a/a;->t(Ljava/lang/String;Z)V :cond_a :goto_7 new-instance v1, Lf/c/a/t1; new-instance v8, Lf/c/a/g; invoke-direct {v8, v0}, Lf/c/a/g;->(Lf/c/a/a;)V sget-wide v9, Lf/c/a/a;->p:J sget-wide v11, Lf/c/a/a;->o:J const-string v13, "Foreground timer" move-object v7, v1 invoke-direct/range {v7 .. v13}, Lf/c/a/t1;->(Ljava/lang/Runnable;JJLjava/lang/String;)V iput-object v1, v0, Lf/c/a/a;->e:Lf/c/a/t1; iget-object v1, v0, Lf/c/a/a;->j:Lf/c/a/r; iget-boolean v1, v1, Lf/c/a/r;->p:Z if-eqz v1, :cond_b iget-object v1, v0, Lf/c/a/a;->d:Lf/c/a/q0; const-string v2, "Send in background configured" new-array v3, v6, [Ljava/lang/Object; check-cast v1, Lf/c/a/x0; invoke-virtual {v1, v2, v3}, Lf/c/a/x0;->c(Ljava/lang/String;[Ljava/lang/Object;)V new-instance v1, Lf/c/a/u1; new-instance v2, Lf/c/a/h; invoke-direct {v2, v0}, Lf/c/a/h;->(Lf/c/a/a;)V const-string v3, "Background timer" invoke-direct {v1, v2, v3}, Lf/c/a/u1;->(Ljava/lang/Runnable;Ljava/lang/String;)V iput-object v1, v0, Lf/c/a/a;->f:Lf/c/a/u1; :cond_b iget-object v1, v0, Lf/c/a/a;->c:Lf/c/a/q; if-nez v1, :cond_c iget-object v1, v0, Lf/c/a/a;->j:Lf/c/a/r; iget-object v1, v1, Lf/c/a/r;->q:Ljava/lang/Double; if-eqz v1, :cond_c invoke-virtual {v1}, Ljava/lang/Double;->doubleValue()D move-result-wide v1 const-wide/16 v3, 0x0 cmpl-double v7, v1, v3 if-lez v7, :cond_c iget-object v1, v0, Lf/c/a/a;->d:Lf/c/a/q0; const-string v2, "Delay start configured" new-array v3, v6, [Ljava/lang/Object; check-cast v1, Lf/c/a/x0; invoke-virtual {v1, v2, v3}, Lf/c/a/x0;->c(Ljava/lang/String;[Ljava/lang/Object;)V iget-object v1, v0, Lf/c/a/a;->h:Lf/c/a/a$m; iput-boolean v5, v1, Lf/c/a/a$m;->d:Z new-instance v1, Lf/c/a/u1; new-instance v2, Lf/c/a/i; invoke-direct {v2, v0}, Lf/c/a/i;->(Lf/c/a/a;)V const-string v3, "Delay Start timer" invoke-direct {v1, v2, v3}, Lf/c/a/u1;->(Ljava/lang/Runnable;Ljava/lang/String;)V iput-object v1, v0, Lf/c/a/a;->g:Lf/c/a/u1; :cond_c iget-object v1, v0, Lf/c/a/a;->j:Lf/c/a/r; iget-object v2, v1, Lf/c/a/r;->t:Ljava/lang/String; sput-object v2, Ld0/a/b/b/a;->b:Ljava/lang/String; iget-object v1, v1, Lf/c/a/r;->a:Landroid/content/Context; invoke-virtual {v0, v6}, Lf/c/a/a;->x(Z)Z move-result v2 new-instance v3, Lf/c/a/g1; invoke-direct {v3, v0, v1, v2}, Lf/c/a/g1;->(Lf/c/a/o0;Landroid/content/Context;Z)V iput-object v3, v0, Lf/c/a/a;->b:Lf/c/a/r0; invoke-static {}, Ljava/lang/System;->currentTimeMillis()J move-result-wide v12 new-instance v1, Lf/c/a/f1; iget-object v8, v0, Lf/c/a/a;->j:Lf/c/a/r; iget-object v9, v0, Lf/c/a/a;->i:Lf/c/a/m0; iget-object v10, v0, Lf/c/a/a;->c:Lf/c/a/q; iget-object v11, v0, Lf/c/a/a;->n:Lf/c/a/p1; move-object v7, v1 invoke-direct/range {v7 .. v13}, Lf/c/a/f1;->(Lf/c/a/r;Lf/c/a/m0;Lf/c/a/q;Lf/c/a/p1;J)V invoke-virtual {v1}, Lf/c/a/f1;->m()Ljava/util/Map; move-result-object v2 sget-object v3, Lf/c/a/o;->h:Lf/c/a/o; invoke-virtual {v1, v3}, Lf/c/a/f1;->k(Lf/c/a/o;)Lf/c/a/p; move-result-object v1 const-string v3, "attribution" iput-object v3, v1, Lf/c/a/p;->path:Ljava/lang/String; const-string v3, "" iput-object v3, v1, Lf/c/a/p;->suffix:Ljava/lang/String; iput-object v2, v1, Lf/c/a/p;->parameters:Ljava/util/Map; invoke-virtual {v0, v6}, Lf/c/a/a;->x(Z)Z move-result v2 new-instance v3, Lf/c/a/c0; invoke-direct {v3, v0, v1, v2}, Lf/c/a/c0;->(Lf/c/a/o0;Lf/c/a/p;Z)V iput-object v3, v0, Lf/c/a/a;->l:Lf/c/a/p0; invoke-virtual {v0, v5}, Lf/c/a/a;->x(Z)Z move-result v1 new-instance v2, Lf/c/a/k1; invoke-direct {v2, v0, v1}, Lf/c/a/k1;->(Lf/c/a/o0;Z)V iput-object v2, v0, Lf/c/a/a;->m:Lf/c/a/u0; iget-object v1, v0, Lf/c/a/a;->c:Lf/c/a/q; if-eqz v1, :cond_d iget-boolean v1, v1, Lf/c/a/q;->updatePackages:Z goto :goto_8 :cond_d iget-object v1, v0, Lf/c/a/a;->h:Lf/c/a/a$m; iget-boolean v1, v1, Lf/c/a/a$m;->e:Z :goto_8 if-eqz v1, :cond_e invoke-virtual {v0}, Lf/c/a/a;->E()V :cond_e iget-object v1, v0, Lf/c/a/a;->j:Lf/c/a/r; iget-object v1, v1, Lf/c/a/r;->r:Ljava/util/List; if-nez v1, :cond_f goto :goto_a :cond_f invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator; move-result-object v1 :goto_9 invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z move-result v2 if-eqz v2, :cond_10 invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v2 check-cast v2, Lf/c/a/t0; invoke-interface {v2, v0}, Lf/c/a/t0;->a(Lf/c/a/a;)V goto :goto_9 :cond_10 :goto_a new-instance v1, Lf/c/a/v0; iget-object v2, v0, Lf/c/a/a;->j:Lf/c/a/r; iget-object v2, v2, Lf/c/a/r;->a:Landroid/content/Context; invoke-direct {v1, v2, v0}, Lf/c/a/v0;->(Landroid/content/Context;Lf/c/a/o0;)V invoke-virtual {v0}, Lf/c/a/a;->s()V return-void :cond_11 throw v1 .end method