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

140 lines
3.3 KiB
Smali
Raw Normal View History

2019-02-17 02:24:41 +00:00
.class final Lcom/adjust/sdk/ao$1;
2019-02-04 20:08:30 +00:00
.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;
2019-02-17 02:24:41 +00:00
value = Lcom/adjust/sdk/ao;-><init>(Lcom/adjust/sdk/v;Landroid/content/Context;Z)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-05-03 18:53:54 +00:00
.field final synthetic eO:Lcom/adjust/sdk/ao;
2019-02-04 20:08:30 +00:00
# direct methods
2019-02-17 02:24:41 +00:00
.method constructor <init>(Lcom/adjust/sdk/ao;)V
2019-02-04 20:08:30 +00:00
.locals 0
2019-05-03 18:53:54 +00:00
iput-object p1, p0, Lcom/adjust/sdk/ao$1;->eO:Lcom/adjust/sdk/ao;
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
2019-05-03 18:53:54 +00:00
.locals 7
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-string v0, "Package queue"
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iget-object v1, p0, Lcom/adjust/sdk/ao$1;->eO:Lcom/adjust/sdk/ao;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-static {v1}, Lcom/adjust/sdk/j;->a(Lcom/adjust/sdk/y;)Lcom/adjust/sdk/z;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
move-result-object v2
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iput-object v2, v1, Lcom/adjust/sdk/ao;->dh:Lcom/adjust/sdk/z;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
new-instance v2, Ljava/util/concurrent/atomic/AtomicBoolean;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-direct {v2}, Ljava/util/concurrent/atomic/AtomicBoolean;-><init>()V
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iput-object v2, v1, Lcom/adjust/sdk/ao;->eM:Ljava/util/concurrent/atomic/AtomicBoolean;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const/4 v2, 0x1
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const/4 v3, 0x0
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
:try_start_0
iget-object v4, v1, Lcom/adjust/sdk/ao;->context:Landroid/content/Context;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-string v5, "AdjustIoPackageQueue"
2019-02-04 20:08:30 +00:00
const-class v6, Ljava/util/List;
2019-05-03 18:53:54 +00:00
invoke-static {v4, v5, v0, v6}, Lcom/adjust/sdk/az;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
move-result-object v4
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
check-cast v4, Ljava/util/List;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iput-object v4, v1, Lcom/adjust/sdk/ao;->eL: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
2019-05-03 18:53:54 +00:00
move-exception v4
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iget-object v5, v1, Lcom/adjust/sdk/ao;->bQ:Lcom/adjust/sdk/x;
2019-02-04 20:08:30 +00:00
const/4 v6, 0x2
new-array v6, v6, [Ljava/lang/Object;
2019-05-03 18:53:54 +00:00
aput-object v0, v6, v3
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-virtual {v4}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
aput-object v0, v6, v2
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-string v0, "Failed to read %s file (%s)"
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-interface {v5, v0, v6}, Lcom/adjust/sdk/x;->f(Ljava/lang/String;[Ljava/lang/Object;)V
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const/4 v0, 0x0
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iput-object v0, v1, Lcom/adjust/sdk/ao;->eL:Ljava/util/List;
2019-02-04 20:08:30 +00:00
:goto_0
2019-05-03 18:53:54 +00:00
iget-object v0, v1, Lcom/adjust/sdk/ao;->eL:Ljava/util/List;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
if-eqz v0, :cond_0
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iget-object v0, v1, Lcom/adjust/sdk/ao;->bQ:Lcom/adjust/sdk/x;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
new-array v2, v2, [Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iget-object v1, v1, Lcom/adjust/sdk/ao;->eL:Ljava/util/List;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-interface {v1}, Ljava/util/List;->size()I
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
move-result v1
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
move-result-object v1
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
aput-object v1, v2, v3
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-string v1, "Package handler read %d packages"
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +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
return-void
:cond_0
2019-05-03 18:53:54 +00:00
new-instance v0, Ljava/util/ArrayList;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iput-object v0, v1, Lcom/adjust/sdk/ao;->eL:Ljava/util/List;
2019-02-04 20:08:30 +00:00
return-void
.end method