apkfuckery/com.discord/smali/com/adjust/sdk/as$3.smali

126 lines
2.9 KiB
Smali
Raw Normal View History

2019-02-17 02:24:41 +00:00
.class final Lcom/adjust/sdk/as$3;
2019-02-04 20:08:30 +00:00
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "SdkClickHandler.java"
2019-02-04 20:08:30 +00:00
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
2019-02-17 02:24:41 +00:00
value = Lcom/adjust/sdk/as;->az()V
2019-02-04 20:08:30 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
2019-03-26 19:13:28 +00:00
.field final synthetic fm:Lcom/adjust/sdk/as;
2019-02-04 20:08:30 +00:00
# direct methods
2019-02-17 02:24:41 +00:00
.method constructor <init>(Lcom/adjust/sdk/as;)V
2019-02-04 20:08:30 +00:00
.locals 0
2019-03-26 19:13:28 +00:00
iput-object p1, p0, Lcom/adjust/sdk/as$3;->fm:Lcom/adjust/sdk/as;
2019-02-04 20:08:30 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final run()V
.locals 11
2019-03-26 19:13:28 +00:00
iget-object v0, p0, Lcom/adjust/sdk/as$3;->fm:Lcom/adjust/sdk/as;
2019-02-04 20:08:30 +00:00
2019-03-26 19:13:28 +00:00
iget-boolean v1, v0, Lcom/adjust/sdk/as;->dM:Z
2019-02-04 20:08:30 +00:00
if-nez v1, :cond_1
2019-03-26 19:13:28 +00:00
iget-object v1, v0, Lcom/adjust/sdk/as;->fb:Ljava/util/List;
2019-02-04 20:08:30 +00:00
invoke-interface {v1}, Ljava/util/List;->isEmpty()Z
move-result v1
if-nez v1, :cond_1
2019-03-26 19:13:28 +00:00
iget-object v1, v0, Lcom/adjust/sdk/as;->fb:Ljava/util/List;
2019-02-04 20:08:30 +00:00
const/4 v2, 0x0
invoke-interface {v1, v2}, Ljava/util/List;->remove(I)Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/adjust/sdk/c;
iget v3, v1, Lcom/adjust/sdk/c;->retries:I
2019-02-17 02:24:41 +00:00
new-instance v4, Lcom/adjust/sdk/as$4;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct {v4, v0, v1}, Lcom/adjust/sdk/as$4;-><init>(Lcom/adjust/sdk/as;Lcom/adjust/sdk/c;)V
2019-02-04 20:08:30 +00:00
if-gtz v3, :cond_0
invoke-interface {v4}, Ljava/lang/Runnable;->run()V
return-void
:cond_0
2019-03-26 19:13:28 +00:00
iget-object v1, v0, Lcom/adjust/sdk/as;->fd:Lcom/adjust/sdk/q;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {v3, v1}, Lcom/adjust/sdk/az;->a(ILcom/adjust/sdk/q;)J
2019-02-04 20:08:30 +00:00
move-result-wide v5
long-to-double v7, v5
const-wide v9, 0x408f400000000000L # 1000.0
invoke-static {v7, v8}, Ljava/lang/Double;->isNaN(D)Z
div-double/2addr v7, v9
2019-03-26 19:13:28 +00:00
sget-object v1, Lcom/adjust/sdk/az;->fw:Ljava/text/DecimalFormat;
2019-02-04 20:08:30 +00:00
invoke-virtual {v1, v7, v8}, Ljava/text/DecimalFormat;->format(D)Ljava/lang/String;
move-result-object v1
2019-02-21 02:16:48 +00:00
iget-object v7, v0, Lcom/adjust/sdk/as;->cg:Lcom/adjust/sdk/x;
2019-02-04 20:08:30 +00:00
const-string v8, "Waiting for %s seconds before retrying sdk_click for the %d time"
const/4 v9, 0x2
new-array v9, v9, [Ljava/lang/Object;
aput-object v1, v9, v2
const/4 v1, 0x1
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
aput-object v2, v9, v1
invoke-interface {v7, v8, v9}, Lcom/adjust/sdk/x;->a(Ljava/lang/String;[Ljava/lang/Object;)V
2019-02-21 02:16:48 +00:00
iget-object v0, v0, Lcom/adjust/sdk/as;->cd:Lcom/adjust/sdk/s;
2019-02-04 20:08:30 +00:00
sget-object v1, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invoke-virtual {v0, v4, v5, v6, v1}, Lcom/adjust/sdk/s;->schedule(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture;
:cond_1
return-void
.end method