2019-02-04 20:08:30 +00:00
|
|
|
.class final Lcom/adjust/sdk/an$1;
|
|
|
|
.super Ljava/lang/Object;
|
2019-02-04 20:29:01 +00:00
|
|
|
.source "PackageHandler.java"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Ljava/lang/Runnable;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Lcom/adjust/sdk/an;-><init>(Lcom/adjust/sdk/v;Landroid/content/Context;Z)V
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x0
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-02-17 00:24:05 +00:00
|
|
|
.field final synthetic fj:Lcom/adjust/sdk/an;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method constructor <init>(Lcom/adjust/sdk/an;)V
|
|
|
|
.locals 0
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iput-object p1, p0, Lcom/adjust/sdk/an$1;->fj:Lcom/adjust/sdk/an;
|
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 8
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/an$1;->fj:Lcom/adjust/sdk/an;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/adjust/sdk/j;->a(Lcom/adjust/sdk/y;)Lcom/adjust/sdk/z;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iput-object v1, v0, Lcom/adjust/sdk/an;->dB:Lcom/adjust/sdk/z;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-instance v1, Ljava/util/concurrent/atomic/AtomicBoolean;
|
|
|
|
|
|
|
|
invoke-direct {v1}, Ljava/util/concurrent/atomic/AtomicBoolean;-><init>()V
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iput-object v1, v0, Lcom/adjust/sdk/an;->fh:Ljava/util/concurrent/atomic/AtomicBoolean;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
iget-object v3, v0, Lcom/adjust/sdk/an;->context:Landroid/content/Context;
|
|
|
|
|
|
|
|
const-string v4, "AdjustIoPackageQueue"
|
|
|
|
|
|
|
|
const-string v5, "Package queue"
|
|
|
|
|
|
|
|
const-class v6, Ljava/util/List;
|
|
|
|
|
|
|
|
invoke-static {v3, v4, v5, v6}, Lcom/adjust/sdk/ay;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
check-cast v3, Ljava/util/List;
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iput-object v3, v0, Lcom/adjust/sdk/an;->fg:Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
move-exception v3
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v4, v0, Lcom/adjust/sdk/an;->cj:Lcom/adjust/sdk/x;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const-string v5, "Failed to read %s file (%s)"
|
|
|
|
|
|
|
|
const/4 v6, 0x2
|
|
|
|
|
|
|
|
new-array v6, v6, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string v7, "Package queue"
|
|
|
|
|
|
|
|
aput-object v7, v6, v2
|
|
|
|
|
|
|
|
invoke-virtual {v3}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
aput-object v3, v6, v1
|
|
|
|
|
|
|
|
invoke-interface {v4, v5, v6}, Lcom/adjust/sdk/x;->f(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iput-object v3, v0, Lcom/adjust/sdk/an;->fg:Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:goto_0
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v3, v0, Lcom/adjust/sdk/an;->fg:Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v3, v0, Lcom/adjust/sdk/an;->cj:Lcom/adjust/sdk/x;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const-string v4, "Package handler read %d packages"
|
|
|
|
|
|
|
|
new-array v1, v1, [Ljava/lang/Object;
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/an;->fg:Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/util/List;->size()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
aput-object v0, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v3, v4, v1}, Lcom/adjust/sdk/x;->b(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance v1, Ljava/util/ArrayList;
|
|
|
|
|
|
|
|
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iput-object v1, v0, Lcom/adjust/sdk/an;->fg:Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|