2020-05-11 18:18:42 +00:00
|
|
|
.class public Le/c/a/s1;
|
2019-12-06 03:29:40 +00:00
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "SdkClickHandler.java"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Ljava/lang/Runnable;
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2020-05-11 18:18:42 +00:00
|
|
|
.field public final synthetic d:Le/c/a/s;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
.field public final synthetic e:Le/c/a/p1;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2020-05-11 18:18:42 +00:00
|
|
|
.method public constructor <init>(Le/c/a/p1;Le/c/a/s;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 0
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
iput-object p1, p0, Le/c/a/s1;->e:Le/c/a/p1;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
iput-object p2, p0, Le/c/a/s1;->d:Le/c/a/s;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public run()V
|
|
|
|
.locals 15
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
iget-object v0, p0, Le/c/a/s1;->e:Le/c/a/p1;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
iget-object v1, p0, Le/c/a/s1;->d:Le/c/a/s;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
iget-object v2, v0, Le/c/a/p1;->f:Ljava/lang/ref/WeakReference;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-virtual {v2}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
check-cast v2, Le/c/a/s0;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-virtual {v1}, Le/c/a/s;->i()Ljava/util/Map;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
const-string v4, "source"
|
|
|
|
|
|
|
|
invoke-interface {v3, v4}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
check-cast v3, Ljava/lang/String;
|
|
|
|
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
const/4 v5, 0x1
|
|
|
|
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
|
|
|
|
const-string v6, "reftag"
|
|
|
|
|
|
|
|
invoke-virtual {v3, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v6
|
|
|
|
|
|
|
|
if-eqz v6, :cond_0
|
|
|
|
|
|
|
|
const/4 v6, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v6, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-virtual {v1}, Le/c/a/s;->i()Ljava/util/Map;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
|
|
|
const-string v8, "raw_referrer"
|
|
|
|
|
|
|
|
invoke-interface {v7, v8}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
|
|
|
check-cast v7, Ljava/lang/String;
|
|
|
|
|
|
|
|
if-eqz v6, :cond_1
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
new-instance v8, Le/c/a/w1;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-object v9, v2
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
check-cast v9, Le/c/a/g;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
iget-object v9, v9, Le/c/a/g;->j:Le/c/a/v;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
iget-object v9, v9, Le/c/a/v;->a:Landroid/content/Context;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-direct {v8, v9}, Le/c/a/w1;-><init>(Landroid/content/Context;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-virtual {v1}, Le/c/a/s;->c()J
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-wide v9
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-virtual {v8, v7, v9, v10}, Le/c/a/w1;->a(Ljava/lang/String;J)Lorg/json/JSONArray;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
|
|
|
if-nez v8, :cond_1
|
|
|
|
|
|
|
|
goto/16 :goto_2
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
if-eqz v3, :cond_2
|
|
|
|
|
|
|
|
const-string v8, "install_referrer"
|
|
|
|
|
|
|
|
invoke-virtual {v3, v8}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
if-eqz v3, :cond_2
|
|
|
|
|
|
|
|
const/4 v4, 0x1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
const-wide/16 v8, -0x1
|
|
|
|
|
|
|
|
if-eqz v4, :cond_3
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-virtual {v1}, Le/c/a/s;->d()J
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-wide v8
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-virtual {v1}, Le/c/a/s;->h()J
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-wide v10
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-virtual {v1}, Le/c/a/s;->i()Ljava/util/Map;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
const-string v12, "referrer"
|
|
|
|
|
|
|
|
invoke-interface {v3, v12}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
check-cast v3, Ljava/lang/String;
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
move-wide v10, v8
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
const-string v12, "https://app.adjust.com"
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-static {v12}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v12
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-virtual {v1}, Le/c/a/s;->k()Ljava/lang/String;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v13
|
|
|
|
|
|
|
|
invoke-virtual {v12, v13}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v12}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v12
|
|
|
|
|
|
|
|
:try_start_0
|
2020-05-11 18:18:42 +00:00
|
|
|
iget-object v13, v0, Le/c/a/p1;->d:Ljava/util/List;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-interface {v13}, Ljava/util/List;->size()I
|
|
|
|
|
|
|
|
move-result v13
|
|
|
|
|
|
|
|
sub-int/2addr v13, v5
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-static {v12, v1, v13}, Lr/a/b/b/a;->a(Ljava/lang/String;Le/c/a/s;I)Le/c/a/o1;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v12
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
check-cast v12, Le/c/a/t1;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
iget-object v13, v12, Le/c/a/o1;->f:Lorg/json/JSONObject;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
if-nez v13, :cond_4
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-virtual {v0, v1}, Le/c/a/p1;->a(Le/c/a/s;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
if-nez v2, :cond_5
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
if-eqz v6, :cond_6
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
new-instance v6, Le/c/a/w1;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-object v13, v2
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
check-cast v13, Le/c/a/g;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
iget-object v13, v13, Le/c/a/g;->j:Le/c/a/v;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
iget-object v13, v13, Le/c/a/v;->a:Landroid/content/Context;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-direct {v6, v13}, Le/c/a/w1;-><init>(Landroid/content/Context;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-virtual {v1}, Le/c/a/s;->c()J
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-wide v13
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-virtual {v6, v7, v13, v14}, Le/c/a/w1;->c(Ljava/lang/String;J)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:cond_6
|
|
|
|
if-eqz v4, :cond_7
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
iput-wide v8, v12, Le/c/a/t1;->i:J
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
iput-wide v10, v12, Le/c/a/t1;->j:J
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
iput-object v3, v12, Le/c/a/t1;->k:Ljava/lang/String;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
iput-boolean v5, v12, Le/c/a/t1;->h:Z
|
2019-12-06 03:29:40 +00:00
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/io/UnsupportedEncodingException; {:try_start_0 .. :try_end_0} :catch_2
|
|
|
|
.catch Ljava/net/SocketTimeoutException; {:try_start_0 .. :try_end_0} :catch_1
|
|
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
:cond_7
|
2020-05-11 18:18:42 +00:00
|
|
|
check-cast v2, Le/c/a/g;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:try_start_1
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-virtual {v2, v12}, Le/c/a/g;->a(Le/c/a/o1;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
:try_end_1
|
|
|
|
.catch Ljava/io/UnsupportedEncodingException; {:try_start_1 .. :try_end_1} :catch_2
|
|
|
|
.catch Ljava/net/SocketTimeoutException; {:try_start_1 .. :try_end_1} :catch_1
|
|
|
|
.catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_0
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception v2
|
|
|
|
|
|
|
|
const-string v3, "Sdk_click runtime exception"
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-virtual {v0, v1, v3, v2}, Le/c/a/p1;->a(Le/c/a/s;Ljava/lang/String;Ljava/lang/Throwable;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
move-exception v2
|
|
|
|
|
|
|
|
const-string v3, "Sdk_click request failed. Will retry later"
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-virtual {v0, v1, v3, v2}, Le/c/a/p1;->a(Le/c/a/s;Ljava/lang/String;Ljava/lang/Throwable;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-virtual {v0, v1}, Le/c/a/p1;->a(Le/c/a/s;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:catch_1
|
|
|
|
move-exception v2
|
|
|
|
|
|
|
|
const-string v3, "Sdk_click request timed out. Will retry later"
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-virtual {v0, v1, v3, v2}, Le/c/a/p1;->a(Le/c/a/s;Ljava/lang/String;Ljava/lang/Throwable;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-virtual {v0, v1}, Le/c/a/p1;->a(Le/c/a/s;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:catch_2
|
|
|
|
move-exception v2
|
|
|
|
|
|
|
|
const-string v3, "Sdk_click failed to encode parameters"
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-virtual {v0, v1, v3, v2}, Le/c/a/p1;->a(Le/c/a/s;Ljava/lang/String;Ljava/lang/Throwable;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:goto_2
|
2020-05-11 18:18:42 +00:00
|
|
|
iget-object v0, p0, Le/c/a/s1;->e:Le/c/a/p1;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-static {v0}, Le/c/a/p1;->a(Le/c/a/p1;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|