apkfuckery/com.discord/smali/com/adjust/sdk/o$6.smali
2019-07-31 02:08:31 +02:00

123 lines
2.8 KiB
Smali

.class final Lcom/adjust/sdk/o$6;
.super Ljava/lang/Object;
.source "AttributionHandler.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/adjust/sdk/o;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic dz:Lcom/adjust/sdk/o;
# direct methods
.method constructor <init>(Lcom/adjust/sdk/o;)V
.locals 0
iput-object p1, p0, Lcom/adjust/sdk/o$6;->dz:Lcom/adjust/sdk/o;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final run()V
.locals 6
iget-object v0, p0, Lcom/adjust/sdk/o$6;->dz:Lcom/adjust/sdk/o;
iget-boolean v1, v0, Lcom/adjust/sdk/o;->dy:Z
const/4 v2, 0x0
if-eqz v1, :cond_0
iget-object v0, v0, Lcom/adjust/sdk/o;->bS:Lcom/adjust/sdk/x;
new-array v1, v2, [Ljava/lang/Object;
const-string v2, "Attribution handler is paused"
invoke-interface {v0, v2, v1}, Lcom/adjust/sdk/x;->b(Ljava/lang/String;[Ljava/lang/Object;)V
return-void
:cond_0
iget-object v1, v0, Lcom/adjust/sdk/o;->bS:Lcom/adjust/sdk/x;
const/4 v3, 0x1
new-array v4, v3, [Ljava/lang/Object;
iget-object v5, v0, Lcom/adjust/sdk/o;->dw:Lcom/adjust/sdk/c;
invoke-virtual {v5}, Lcom/adjust/sdk/c;->U()Ljava/lang/String;
move-result-object v5
aput-object v5, v4, v2
const-string v5, "%s"
invoke-interface {v1, v5, v4}, Lcom/adjust/sdk/x;->a(Ljava/lang/String;[Ljava/lang/Object;)V
:try_start_0
iget-object v1, v0, Lcom/adjust/sdk/o;->dw:Lcom/adjust/sdk/c;
invoke-static {v1}, Lcom/adjust/sdk/ba;->e(Lcom/adjust/sdk/c;)Lcom/adjust/sdk/ar;
move-result-object v1
instance-of v4, v1, Lcom/adjust/sdk/p;
if-nez v4, :cond_1
return-void
:cond_1
check-cast v1, Lcom/adjust/sdk/p;
iget-object v4, v0, Lcom/adjust/sdk/o;->bP:Lcom/adjust/sdk/s;
new-instance v5, Lcom/adjust/sdk/o$5;
invoke-direct {v5, v0, v1}, Lcom/adjust/sdk/o$5;-><init>(Lcom/adjust/sdk/o;Lcom/adjust/sdk/p;)V
invoke-virtual {v4, v5}, Lcom/adjust/sdk/s;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
return-void
:catch_0
move-exception v1
iget-object v0, v0, Lcom/adjust/sdk/o;->bS:Lcom/adjust/sdk/x;
new-array v3, v3, [Ljava/lang/Object;
invoke-virtual {v1}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
move-result-object v1
aput-object v1, v3, v2
const-string v1, "Failed to get attribution (%s)"
invoke-interface {v0, v1, v3}, Lcom/adjust/sdk/x;->f(Ljava/lang/String;[Ljava/lang/Object;)V
return-void
.end method