apkfuckery/com.discord/smali/com/adjust/sdk/ao.smali

431 lines
10 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public final Lcom/adjust/sdk/ao;
.super Ljava/lang/Object;
2019-02-17 02:24:41 +00:00
.source "PackageHandler.java"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
# interfaces
.implements Lcom/adjust/sdk/y;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
# instance fields
2019-02-21 02:16:48 +00:00
.field private cd:Lcom/adjust/sdk/s;
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
.field cg:Lcom/adjust/sdk/x;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
.field context:Landroid/content/Context;
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
.field private dK:Ljava/lang/ref/WeakReference;
2019-02-17 02:24:41 +00:00
.annotation system Ldalvik/annotation/Signature;
2019-02-04 20:08:30 +00:00
value = {
2019-02-17 02:24:41 +00:00
"Ljava/lang/ref/WeakReference<",
"Lcom/adjust/sdk/v;",
">;"
2019-02-04 20:08:30 +00:00
}
.end annotation
2019-02-17 02:24:41 +00:00
.end field
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
.field private dN:Z
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
.field dy:Lcom/adjust/sdk/z;
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
.field fc:Ljava/util/List;
2019-02-17 02:24:41 +00:00
.annotation system Ldalvik/annotation/Signature;
2019-02-04 20:08:30 +00:00
value = {
2019-02-17 02:24:41 +00:00
"Ljava/util/List<",
"Lcom/adjust/sdk/c;",
">;"
2019-02-04 20:08:30 +00:00
}
.end annotation
2019-02-17 02:24:41 +00:00
.end field
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
.field fd:Ljava/util/concurrent/atomic/AtomicBoolean;
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
.field private fe:Lcom/adjust/sdk/q;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
# direct methods
.method public constructor <init>(Lcom/adjust/sdk/v;Landroid/content/Context;Z)V
.locals 3
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
new-instance v0, Lcom/adjust/sdk/s;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const-string v1, "PackageHandler"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v2, 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct {v0, v1, v2}, Lcom/adjust/sdk/s;-><init>(Ljava/lang/String;Z)V
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
iput-object v0, p0, Lcom/adjust/sdk/ao;->cd:Lcom/adjust/sdk/s;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {}, Lcom/adjust/sdk/j;->X()Lcom/adjust/sdk/x;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
iput-object v0, p0, Lcom/adjust/sdk/ao;->cg:Lcom/adjust/sdk/x;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {}, Lcom/adjust/sdk/j;->ad()Lcom/adjust/sdk/q;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
iput-object v0, p0, Lcom/adjust/sdk/ao;->fe:Lcom/adjust/sdk/q;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {p0, p1, p2, p3}, Lcom/adjust/sdk/ao;->b(Lcom/adjust/sdk/v;Landroid/content/Context;Z)V
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
iget-object p1, p0, Lcom/adjust/sdk/ao;->cd:Lcom/adjust/sdk/s;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
new-instance p2, Lcom/adjust/sdk/ao$1;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct {p2, p0}, Lcom/adjust/sdk/ao$1;-><init>(Lcom/adjust/sdk/ao;)V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {p1, p2}, Lcom/adjust/sdk/s;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-void
2019-02-04 20:08:30 +00:00
.end method
2019-02-17 02:24:41 +00:00
# virtual methods
.method public final a(Lcom/adjust/sdk/ar;Lcom/adjust/sdk/c;)V
.locals 8
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v0, 0x1
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
iput-boolean v0, p1, Lcom/adjust/sdk/ar;->dw:Z
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
iget-object v1, p0, Lcom/adjust/sdk/ao;->dK:Ljava/lang/ref/WeakReference;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {v1}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object v1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
check-cast v1, Lcom/adjust/sdk/v;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
if-eqz v1, :cond_0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-interface {v1, p1}, Lcom/adjust/sdk/v;->a(Lcom/adjust/sdk/ar;)V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_0
new-instance p1, Lcom/adjust/sdk/ao$5;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct {p1, p0}, Lcom/adjust/sdk/ao$5;-><init>(Lcom/adjust/sdk/ao;)V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
if-nez p2, :cond_1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-interface {p1}, Ljava/lang/Runnable;->run()V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-void
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_1
invoke-virtual {p2}, Lcom/adjust/sdk/c;->T()I
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result p2
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
iget-object v1, p0, Lcom/adjust/sdk/ao;->fe:Lcom/adjust/sdk/q;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {p2, v1}, Lcom/adjust/sdk/az;->a(ILcom/adjust/sdk/q;)J
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-wide v1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
long-to-double v3, v1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const-wide v5, 0x408f400000000000L # 1000.0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {v3, v4}, Ljava/lang/Double;->isNaN(D)Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
div-double/2addr v3, v5
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
sget-object v5, Lcom/adjust/sdk/az;->fx:Ljava/text/DecimalFormat;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {v5, v3, v4}, Ljava/text/DecimalFormat;->format(D)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object v3
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
iget-object v4, p0, Lcom/adjust/sdk/ao;->cg:Lcom/adjust/sdk/x;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const-string v5, "Waiting for %s seconds before retrying the %d time"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v6, 0x2
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
new-array v6, v6, [Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v7, 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
aput-object v3, v6, v7
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object p2
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
aput-object p2, v6, v0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-interface {v4, v5, v6}, Lcom/adjust/sdk/x;->a(Ljava/lang/String;[Ljava/lang/Object;)V
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
iget-object p2, p0, Lcom/adjust/sdk/ao;->cd:Lcom/adjust/sdk/s;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
sget-object v0, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {p2, p1, v1, v2, v0}, Lcom/adjust/sdk/s;->schedule(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-void
2019-02-04 20:08:30 +00:00
.end method
2019-02-17 02:24:41 +00:00
.method public final a(Lcom/adjust/sdk/au;)V
2019-02-04 20:08:30 +00:00
.locals 3
2019-02-17 02:24:41 +00:00
if-eqz p1, :cond_1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
new-instance v0, Lcom/adjust/sdk/au;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct {v0}, Lcom/adjust/sdk/au;-><init>()V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
iget-object v1, p1, Lcom/adjust/sdk/au;->callbackParameters:Ljava/util/Map;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
if-eqz v1, :cond_0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
new-instance v1, Ljava/util/HashMap;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
iget-object v2, p1, Lcom/adjust/sdk/au;->callbackParameters:Ljava/util/Map;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct {v1, v2}, Ljava/util/HashMap;-><init>(Ljava/util/Map;)V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
iput-object v1, v0, Lcom/adjust/sdk/au;->callbackParameters:Ljava/util/Map;
2019-02-04 20:08:30 +00:00
:cond_0
2019-02-17 02:24:41 +00:00
iget-object v1, p1, Lcom/adjust/sdk/au;->partnerParameters:Ljava/util/Map;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
if-eqz v1, :cond_2
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
new-instance v1, Ljava/util/HashMap;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
iget-object p1, p1, Lcom/adjust/sdk/au;->partnerParameters:Ljava/util/Map;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct {v1, p1}, Ljava/util/HashMap;-><init>(Ljava/util/Map;)V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
iput-object v1, v0, Lcom/adjust/sdk/au;->partnerParameters:Ljava/util/Map;
2019-02-04 20:08:30 +00:00
goto :goto_0
:cond_1
2019-02-17 02:24:41 +00:00
const/4 v0, 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_2
:goto_0
2019-02-21 02:16:48 +00:00
iget-object p1, p0, Lcom/adjust/sdk/ao;->cd:Lcom/adjust/sdk/s;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
new-instance v1, Lcom/adjust/sdk/ao$6;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct {v1, p0, v0}, Lcom/adjust/sdk/ao$6;-><init>(Lcom/adjust/sdk/ao;Lcom/adjust/sdk/au;)V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {p1, v1}, Lcom/adjust/sdk/s;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-void
2019-02-04 20:08:30 +00:00
.end method
2019-02-17 02:24:41 +00:00
.method public final a(Lcom/adjust/sdk/c;)V
2019-02-04 20:08:30 +00:00
.locals 2
2019-02-21 02:16:48 +00:00
iget-object v0, p0, Lcom/adjust/sdk/ao;->cd:Lcom/adjust/sdk/s;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
new-instance v1, Lcom/adjust/sdk/ao$2;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct {v1, p0, p1}, Lcom/adjust/sdk/ao$2;-><init>(Lcom/adjust/sdk/ao;Lcom/adjust/sdk/c;)V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {v0, v1}, Lcom/adjust/sdk/s;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-void
2019-02-04 20:08:30 +00:00
.end method
2019-02-17 02:24:41 +00:00
.method public final ag()V
.locals 1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v0, 0x1
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
iput-boolean v0, p0, Lcom/adjust/sdk/ao;->dN:Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-void
2019-02-04 20:08:30 +00:00
.end method
2019-02-17 02:24:41 +00:00
.method public final ah()V
.locals 1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v0, 0x0
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
iput-boolean v0, p0, Lcom/adjust/sdk/ao;->dN:Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-void
2019-02-04 20:08:30 +00:00
.end method
2019-02-17 02:24:41 +00:00
.method public final aj()V
.locals 2
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
iget-object v0, p0, Lcom/adjust/sdk/ao;->cd:Lcom/adjust/sdk/s;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
new-instance v1, Lcom/adjust/sdk/ao$3;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct {v1, p0}, Lcom/adjust/sdk/ao$3;-><init>(Lcom/adjust/sdk/ao;)V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {v0, v1}, Lcom/adjust/sdk/s;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-void
2019-02-04 20:08:30 +00:00
.end method
2019-02-17 02:24:41 +00:00
.method final at()V
.locals 4
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
iget-object v0, p0, Lcom/adjust/sdk/ao;->fc:Ljava/util/List;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-interface {v0}, Ljava/util/List;->isEmpty()Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result v0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
if-eqz v0, :cond_0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-void
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_0
2019-02-21 02:16:48 +00:00
iget-boolean v0, p0, Lcom/adjust/sdk/ao;->dN:Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v1, 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
if-eqz v0, :cond_1
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
iget-object v0, p0, Lcom/adjust/sdk/ao;->cg:Lcom/adjust/sdk/x;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const-string v2, "Package handler is paused"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
new-array v1, v1, [Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-interface {v0, v2, v1}, Lcom/adjust/sdk/x;->b(Ljava/lang/String;[Ljava/lang/Object;)V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-void
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_1
2019-02-21 02:16:48 +00:00
iget-object v0, p0, Lcom/adjust/sdk/ao;->fd:Ljava/util/concurrent/atomic/AtomicBoolean;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v2, 0x1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {v0, v2}, Ljava/util/concurrent/atomic/AtomicBoolean;->getAndSet(Z)Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result v0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
if-eqz v0, :cond_2
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
iget-object v0, p0, Lcom/adjust/sdk/ao;->cg:Lcom/adjust/sdk/x;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const-string v2, "Package handler is already sending"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
new-array v1, v1, [Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-interface {v0, v2, v1}, Lcom/adjust/sdk/x;->a(Ljava/lang/String;[Ljava/lang/Object;)V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-void
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_2
2019-02-21 02:16:48 +00:00
iget-object v0, p0, Lcom/adjust/sdk/ao;->fc:Ljava/util/List;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
check-cast v0, Lcom/adjust/sdk/c;
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
iget-object v1, p0, Lcom/adjust/sdk/ao;->dy:Lcom/adjust/sdk/z;
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
iget-object v3, p0, Lcom/adjust/sdk/ao;->fc:Ljava/util/List;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-interface {v3}, Ljava/util/List;->size()I
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result v3
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
sub-int/2addr v3, v2
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-interface {v1, v0, v3}, Lcom/adjust/sdk/z;->a(Lcom/adjust/sdk/c;I)V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-void
.end method
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
.method final au()V
.locals 5
2019-02-04 20:29:01 +00:00
2019-02-21 02:16:48 +00:00
iget-object v0, p0, Lcom/adjust/sdk/ao;->fc:Ljava/util/List;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
iget-object v1, p0, Lcom/adjust/sdk/ao;->context:Landroid/content/Context;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const-string v2, "AdjustIoPackageQueue"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const-string v3, "Package queue"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {v0, v1, v2, v3}, Lcom/adjust/sdk/az;->a(Ljava/lang/Object;Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
iget-object v0, p0, Lcom/adjust/sdk/ao;->cg:Lcom/adjust/sdk/x;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const-string v1, "Package handler wrote %d packages"
2019-02-04 20:08:30 +00:00
const/4 v2, 0x1
new-array v2, v2, [Ljava/lang/Object;
2019-02-21 02:16:48 +00:00
iget-object v3, p0, Lcom/adjust/sdk/ao;->fc:Ljava/util/List;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-interface {v3}, Ljava/util/List;->size()I
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result v3
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object v3
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v4, 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
aput-object v3, v2, v4
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-interface {v0, v1, v2}, Lcom/adjust/sdk/x;->b(Ljava/lang/String;[Ljava/lang/Object;)V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-void
.end method
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
.method public final b(Lcom/adjust/sdk/ar;)V
.locals 2
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
iget-object v0, p0, Lcom/adjust/sdk/ao;->cd:Lcom/adjust/sdk/s;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
new-instance v1, Lcom/adjust/sdk/ao$4;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct {v1, p0}, Lcom/adjust/sdk/ao$4;-><init>(Lcom/adjust/sdk/ao;)V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {v0, v1}, Lcom/adjust/sdk/s;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
iget-object v0, p0, Lcom/adjust/sdk/ao;->dK:Ljava/lang/ref/WeakReference;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
check-cast v0, Lcom/adjust/sdk/v;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
if-eqz v0, :cond_0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-interface {v0, p1}, Lcom/adjust/sdk/v;->a(Lcom/adjust/sdk/ar;)V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_0
return-void
2019-02-04 20:08:30 +00:00
.end method
2019-02-17 02:24:41 +00:00
.method public final b(Lcom/adjust/sdk/v;Landroid/content/Context;Z)V
.locals 1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
new-instance v0, Ljava/lang/ref/WeakReference;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct {v0, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
iput-object v0, p0, Lcom/adjust/sdk/ao;->dK:Ljava/lang/ref/WeakReference;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
iput-object p2, p0, Lcom/adjust/sdk/ao;->context:Landroid/content/Context;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
xor-int/lit8 p1, p3, 0x1
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
iput-boolean p1, p0, Lcom/adjust/sdk/ao;->dN:Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-void
2019-02-04 20:08:30 +00:00
.end method