apkfuckery/com.discord/smali/f/c/a/a$e.smali
2020-09-29 21:44:44 +00:00

850 lines
19 KiB
Smali

.class public Lf/c/a/a$e;
.super Ljava/lang/Object;
.source "ActivityHandler.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lf/c/a/a;-><init>(Lf/c/a/w;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic d:Lf/c/a/a;
# direct methods
.method public constructor <init>(Lf/c/a/a;)V
.locals 0
iput-object p1, p0, Lf/c/a/a$e;->d:Lf/c/a/a;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 14
iget-object v0, p0, Lf/c/a/a$e;->d:Lf/c/a/a;
const/4 v1, 0x0
if-eqz v0, :cond_14
const-wide/32 v2, 0x1b7740
sput-wide v2, Lf/c/a/a;->w:J
const-wide/16 v2, 0x3e8
sput-wide v2, Lf/c/a/a;->x:J
const-wide/32 v2, 0xea60
sput-wide v2, Lf/c/a/a;->t:J
sput-wide v2, Lf/c/a/a;->u:J
sput-wide v2, Lf/c/a/a;->v:J
iget-object v2, v0, Lf/c/a/a;->m:Lf/c/a/w;
iget-object v2, v2, Lf/c/a/w;->d:Landroid/content/Context;
const-string v3, "Attribution"
const/4 v4, 0x2
const/4 v5, 0x1
const/4 v6, 0x0
:try_start_0
const-string v7, "AdjustAttribution"
const-class v8, Lcom/adjust/sdk/AdjustAttribution;
invoke-static {v2, v7, v3, v8}, Lf/c/a/e2;->C(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
move-result-object v2
check-cast v2, Lcom/adjust/sdk/AdjustAttribution;
iput-object v2, v0, Lf/c/a/a;->n:Lcom/adjust/sdk/AdjustAttribution;
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v2
iget-object v7, v0, Lf/c/a/a;->d:Lf/c/a/w0;
new-array v8, v4, [Ljava/lang/Object;
aput-object v3, v8, v6
invoke-virtual {v2}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
move-result-object v2
aput-object v2, v8, v5
const-string v2, "Failed to read %s file (%s)"
invoke-interface {v7, v2, v8}, Lf/c/a/w0;->e(Ljava/lang/String;[Ljava/lang/Object;)V
iput-object v1, v0, Lf/c/a/a;->n:Lcom/adjust/sdk/AdjustAttribution;
:goto_0
iget-object v2, v0, Lf/c/a/a;->m:Lf/c/a/w;
iget-object v2, v2, Lf/c/a/w;->d:Landroid/content/Context;
const-string v3, "Activity state"
:try_start_1
const-string v7, "AdjustIoActivityState"
const-class v8, Lf/c/a/v;
invoke-static {v2, v7, v3, v8}, Lf/c/a/e2;->C(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
move-result-object v2
check-cast v2, Lf/c/a/v;
iput-object v2, v0, Lf/c/a/a;->c:Lf/c/a/v;
:try_end_1
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1
goto :goto_1
:catch_1
move-exception v2
iget-object v7, v0, Lf/c/a/a;->d:Lf/c/a/w0;
new-array v8, v4, [Ljava/lang/Object;
aput-object v3, v8, v6
invoke-virtual {v2}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
move-result-object v2
aput-object v2, v8, v5
const-string v2, "Failed to read %s file (%s)"
invoke-interface {v7, v2, v8}, Lf/c/a/w0;->e(Ljava/lang/String;[Ljava/lang/Object;)V
iput-object v1, v0, Lf/c/a/a;->c:Lf/c/a/v;
:goto_1
iget-object v2, v0, Lf/c/a/a;->c:Lf/c/a/v;
if-eqz v2, :cond_0
iget-object v2, v0, Lf/c/a/a;->h:Lf/c/a/a$n;
iput-boolean v5, v2, Lf/c/a/a$n;->h:Z
:cond_0
new-instance v2, Lf/c/a/x1;
invoke-direct {v2}, Lf/c/a/x1;-><init>()V
iput-object v2, v0, Lf/c/a/a;->q:Lf/c/a/x1;
iget-object v3, v0, Lf/c/a/a;->m:Lf/c/a/w;
iget-object v3, v3, Lf/c/a/w;->d:Landroid/content/Context;
const-string v7, "Session Callback parameters"
:try_start_2
const-string v8, "AdjustSessionCallbackParameters"
const-class v9, Ljava/util/Map;
invoke-static {v3, v8, v7, v9}, Lf/c/a/e2;->C(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
move-result-object v3
check-cast v3, Ljava/util/Map;
iput-object v3, v2, Lf/c/a/x1;->a:Ljava/util/Map;
:try_end_2
.catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_2
goto :goto_2
:catch_2
move-exception v2
iget-object v3, v0, Lf/c/a/a;->d:Lf/c/a/w0;
new-array v8, v4, [Ljava/lang/Object;
aput-object v7, v8, v6
invoke-virtual {v2}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
move-result-object v2
aput-object v2, v8, v5
const-string v2, "Failed to read %s file (%s)"
invoke-interface {v3, v2, v8}, Lf/c/a/w0;->e(Ljava/lang/String;[Ljava/lang/Object;)V
iget-object v2, v0, Lf/c/a/a;->q:Lf/c/a/x1;
iput-object v1, v2, Lf/c/a/x1;->a:Ljava/util/Map;
:goto_2
iget-object v2, v0, Lf/c/a/a;->m:Lf/c/a/w;
iget-object v2, v2, Lf/c/a/w;->d:Landroid/content/Context;
const-string v3, "Session Partner parameters"
:try_start_3
iget-object v7, v0, Lf/c/a/a;->q:Lf/c/a/x1;
const-string v8, "AdjustSessionPartnerParameters"
const-class v9, Ljava/util/Map;
invoke-static {v2, v8, v3, v9}, Lf/c/a/e2;->C(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
move-result-object v2
check-cast v2, Ljava/util/Map;
iput-object v2, v7, Lf/c/a/x1;->b:Ljava/util/Map;
:try_end_3
.catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_3
goto :goto_3
:catch_3
move-exception v2
iget-object v7, v0, Lf/c/a/a;->d:Lf/c/a/w0;
new-array v4, v4, [Ljava/lang/Object;
aput-object v3, v4, v6
invoke-virtual {v2}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
move-result-object v2
aput-object v2, v4, v5
const-string v2, "Failed to read %s file (%s)"
invoke-interface {v7, v2, v4}, Lf/c/a/w0;->e(Ljava/lang/String;[Ljava/lang/Object;)V
iget-object v2, v0, Lf/c/a/a;->q:Lf/c/a/x1;
iput-object v1, v2, Lf/c/a/x1;->b:Ljava/util/Map;
:goto_3
iget-object v1, v0, Lf/c/a/a;->m:Lf/c/a/w;
iget-object v2, v1, Lf/c/a/w;->y:Ljava/lang/Boolean;
if-eqz v2, :cond_2
iget-object v2, v1, Lf/c/a/w;->u:Ljava/util/List;
if-nez v2, :cond_1
new-instance v2, Ljava/util/ArrayList;
invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V
iput-object v2, v1, Lf/c/a/w;->u:Ljava/util/List;
:cond_1
iget-object v1, v0, Lf/c/a/a;->m:Lf/c/a/w;
iget-object v1, v1, Lf/c/a/w;->u:Ljava/util/List;
new-instance v2, Lf/c/a/h;
invoke-direct {v2, v0}, Lf/c/a/h;-><init>(Lf/c/a/a;)V
invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
:cond_2
iget-object v1, v0, Lf/c/a/a;->h:Lf/c/a/a$n;
iget-boolean v2, v1, Lf/c/a/a$n;->h:Z
if-eqz v2, :cond_3
iget-object v2, v0, Lf/c/a/a;->c:Lf/c/a/v;
iget-boolean v3, v2, Lf/c/a/v;->enabled:Z
iput-boolean v3, v1, Lf/c/a/a$n;->a:Z
iget-boolean v2, v2, Lf/c/a/v;->updatePackages:Z
iput-boolean v2, v1, Lf/c/a/a$n;->e:Z
iput-boolean v6, v1, Lf/c/a/a$n;->f:Z
goto :goto_4
:cond_3
iput-boolean v5, v1, Lf/c/a/a$n;->f:Z
:goto_4
iget-object v1, v0, Lf/c/a/a;->m:Lf/c/a/w;
iget-object v1, v1, Lf/c/a/w;->d:Landroid/content/Context;
:try_start_4
invoke-virtual {v1}, Landroid/content/Context;->getAssets()Landroid/content/res/AssetManager;
move-result-object v1
const-string v2, "adjust_config.properties"
invoke-virtual {v1, v2}, Landroid/content/res/AssetManager;->open(Ljava/lang/String;)Ljava/io/InputStream;
move-result-object v1
new-instance v2, Ljava/util/Properties;
invoke-direct {v2}, Ljava/util/Properties;-><init>()V
invoke-virtual {v2, v1}, Ljava/util/Properties;->load(Ljava/io/InputStream;)V
:try_end_4
.catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_4
iget-object v1, v0, Lf/c/a/a;->d:Lf/c/a/w0;
new-array v3, v6, [Ljava/lang/Object;
const-string v4, "adjust_config.properties file read and loaded"
invoke-interface {v1, v4, v3}, Lf/c/a/w0;->g(Ljava/lang/String;[Ljava/lang/Object;)V
const-string v1, "defaultTracker"
invoke-virtual {v2, v1}, Ljava/util/Properties;->getProperty(Ljava/lang/String;)Ljava/lang/String;
move-result-object v1
if-eqz v1, :cond_4
iget-object v2, v0, Lf/c/a/a;->m:Lf/c/a/w;
iput-object v1, v2, Lf/c/a/w;->j:Ljava/lang/String;
goto :goto_5
:catch_4
move-exception v1
iget-object v2, v0, Lf/c/a/a;->d:Lf/c/a/w0;
new-array v3, v5, [Ljava/lang/Object;
invoke-virtual {v1}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
move-result-object v1
aput-object v1, v3, v6
const-string v1, "%s file not found in this app"
invoke-interface {v2, v1, v3}, Lf/c/a/w0;->f(Ljava/lang/String;[Ljava/lang/Object;)V
:cond_4
:goto_5
new-instance v1, Lf/c/a/p0;
iget-object v2, v0, Lf/c/a/a;->m:Lf/c/a/w;
iget-object v3, v2, Lf/c/a/w;->d:Landroid/content/Context;
iget-object v2, v2, Lf/c/a/w;->h:Ljava/lang/String;
invoke-direct {v1, v3, v2}, Lf/c/a/p0;-><init>(Landroid/content/Context;Ljava/lang/String;)V
iput-object v1, v0, Lf/c/a/a;->l:Lf/c/a/p0;
iget-object v1, v0, Lf/c/a/a;->m:Lf/c/a/w;
iget-boolean v1, v1, Lf/c/a/w;->i:Z
if-eqz v1, :cond_5
iget-object v1, v0, Lf/c/a/a;->d:Lf/c/a/w0;
const-string v2, "Event buffering is enabled"
new-array v3, v6, [Ljava/lang/Object;
invoke-interface {v1, v2, v3}, Lf/c/a/w0;->h(Ljava/lang/String;[Ljava/lang/Object;)V
:cond_5
iget-object v1, v0, Lf/c/a/a;->l:Lf/c/a/p0;
iget-object v2, v0, Lf/c/a/a;->m:Lf/c/a/w;
iget-object v2, v2, Lf/c/a/w;->d:Landroid/content/Context;
invoke-virtual {v1, v2}, Lf/c/a/p0;->b(Landroid/content/Context;)V
iget-object v1, v0, Lf/c/a/a;->l:Lf/c/a/p0;
iget-object v1, v1, Lf/c/a/p0;->a:Ljava/lang/String;
if-nez v1, :cond_6
iget-object v1, v0, Lf/c/a/a;->d:Lf/c/a/w0;
const-string v2, "Unable to get Google Play Services Advertising ID at start time"
new-array v3, v6, [Ljava/lang/Object;
invoke-interface {v1, v2, v3}, Lf/c/a/w0;->d(Ljava/lang/String;[Ljava/lang/Object;)V
iget-object v1, v0, Lf/c/a/a;->l:Lf/c/a/p0;
iget-object v2, v1, Lf/c/a/p0;->f:Ljava/lang/String;
if-nez v2, :cond_7
iget-object v2, v1, Lf/c/a/p0;->g:Ljava/lang/String;
if-nez v2, :cond_7
iget-object v1, v1, Lf/c/a/p0;->h:Ljava/lang/String;
if-nez v1, :cond_7
iget-object v1, v0, Lf/c/a/a;->d:Lf/c/a/w0;
const-string v2, "Unable to get any device id\'s. Please check if Proguard is correctly set with Adjust SDK"
new-array v3, v6, [Ljava/lang/Object;
invoke-interface {v1, v2, v3}, Lf/c/a/w0;->e(Ljava/lang/String;[Ljava/lang/Object;)V
goto :goto_6
:cond_6
iget-object v1, v0, Lf/c/a/a;->d:Lf/c/a/w0;
const-string v2, "Google Play Services Advertising ID read correctly at start time"
new-array v3, v6, [Ljava/lang/Object;
invoke-interface {v1, v2, v3}, Lf/c/a/w0;->h(Ljava/lang/String;[Ljava/lang/Object;)V
:cond_7
:goto_6
iget-object v1, v0, Lf/c/a/a;->m:Lf/c/a/w;
iget-object v1, v1, Lf/c/a/w;->j:Ljava/lang/String;
if-eqz v1, :cond_8
iget-object v2, v0, Lf/c/a/a;->d:Lf/c/a/w0;
const-string v3, "Default tracker: \'%s\'"
new-array v4, v5, [Ljava/lang/Object;
aput-object v1, v4, v6
invoke-interface {v2, v3, v4}, Lf/c/a/w0;->h(Ljava/lang/String;[Ljava/lang/Object;)V
:cond_8
iget-object v1, v0, Lf/c/a/a;->m:Lf/c/a/w;
iget-object v2, v1, Lf/c/a/w;->x:Ljava/lang/String;
if-eqz v2, :cond_a
iget-object v1, v0, Lf/c/a/a;->d:Lf/c/a/w0;
const-string v3, "Push token: \'%s\'"
new-array v4, v5, [Ljava/lang/Object;
aput-object v2, v4, v6
invoke-interface {v1, v3, v4}, Lf/c/a/w0;->h(Ljava/lang/String;[Ljava/lang/Object;)V
iget-object v1, v0, Lf/c/a/a;->h:Lf/c/a/a$n;
iget-boolean v1, v1, Lf/c/a/a$n;->h:Z
if-eqz v1, :cond_9
iget-object v1, v0, Lf/c/a/a;->m:Lf/c/a/w;
iget-object v1, v1, Lf/c/a/w;->x:Ljava/lang/String;
invoke-virtual {v0, v1, v6}, Lf/c/a/a;->C(Ljava/lang/String;Z)V
goto :goto_7
:cond_9
new-instance v1, Lf/c/a/z1;
iget-object v2, v0, Lf/c/a/a;->m:Lf/c/a/w;
iget-object v2, v2, Lf/c/a/w;->d:Landroid/content/Context;
invoke-direct {v1, v2}, Lf/c/a/z1;-><init>(Landroid/content/Context;)V
iget-object v2, v0, Lf/c/a/a;->m:Lf/c/a/w;
iget-object v2, v2, Lf/c/a/w;->x:Ljava/lang/String;
monitor-enter v1
:try_start_5
const-string v3, "push_token"
invoke-virtual {v1, v3, v2}, Lf/c/a/z1;->m(Ljava/lang/String;Ljava/lang/String;)V
:try_end_5
.catchall {:try_start_5 .. :try_end_5} :catchall_0
monitor-exit v1
goto :goto_7
:catchall_0
move-exception v0
monitor-exit v1
throw v0
:cond_a
iget-object v2, v0, Lf/c/a/a;->h:Lf/c/a/a$n;
iget-boolean v2, v2, Lf/c/a/a$n;->h:Z
if-eqz v2, :cond_b
new-instance v2, Lf/c/a/z1;
iget-object v1, v1, Lf/c/a/w;->d:Landroid/content/Context;
invoke-direct {v2, v1}, Lf/c/a/z1;-><init>(Landroid/content/Context;)V
invoke-virtual {v2}, Lf/c/a/z1;->d()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1, v5}, Lf/c/a/a;->C(Ljava/lang/String;Z)V
:cond_b
:goto_7
iget-object v1, v0, Lf/c/a/a;->h:Lf/c/a/a$n;
iget-boolean v1, v1, Lf/c/a/a$n;->h:Z
if-eqz v1, :cond_d
new-instance v1, Lf/c/a/z1;
iget-object v2, v0, Lf/c/a/a;->m:Lf/c/a/w;
iget-object v2, v2, Lf/c/a/w;->d:Landroid/content/Context;
invoke-direct {v1, v2}, Lf/c/a/z1;-><init>(Landroid/content/Context;)V
invoke-virtual {v1}, Lf/c/a/z1;->c()Z
move-result v2
if-eqz v2, :cond_c
iget-object v1, v0, Lf/c/a/a;->a:Lf/c/a/f2/h;
new-instance v2, Lf/c/a/d;
invoke-direct {v2, v0}, Lf/c/a/d;-><init>(Lf/c/a/a;)V
check-cast v1, Lf/c/a/f2/c;
invoke-virtual {v1, v2}, Lf/c/a/f2/c;->c(Ljava/lang/Runnable;)V
goto :goto_8
:cond_c
invoke-virtual {v1}, Lf/c/a/z1;->b()Z
move-result v1
if-eqz v1, :cond_d
iget-object v1, v0, Lf/c/a/a;->a:Lf/c/a/f2/h;
new-instance v2, Lf/c/a/e;
invoke-direct {v2, v0}, Lf/c/a/e;-><init>(Lf/c/a/a;)V
check-cast v1, Lf/c/a/f2/c;
invoke-virtual {v1, v2}, Lf/c/a/f2/c;->c(Ljava/lang/Runnable;)V
:cond_d
:goto_8
new-instance v1, Lf/c/a/f2/j;
new-instance v8, Lf/c/a/i;
invoke-direct {v8, v0}, Lf/c/a/i;-><init>(Lf/c/a/a;)V
sget-wide v9, Lf/c/a/a;->u:J
sget-wide v11, Lf/c/a/a;->t:J
const-string v13, "Foreground timer"
move-object v7, v1
invoke-direct/range {v7 .. v13}, Lf/c/a/f2/j;-><init>(Ljava/lang/Runnable;JJLjava/lang/String;)V
iput-object v1, v0, Lf/c/a/a;->e:Lf/c/a/f2/j;
iget-object v1, v0, Lf/c/a/a;->m:Lf/c/a/w;
iget-boolean v1, v1, Lf/c/a/w;->s:Z
if-eqz v1, :cond_e
iget-object v1, v0, Lf/c/a/a;->d:Lf/c/a/w0;
const-string v2, "Send in background configured"
new-array v3, v6, [Ljava/lang/Object;
invoke-interface {v1, v2, v3}, Lf/c/a/w0;->h(Ljava/lang/String;[Ljava/lang/Object;)V
new-instance v1, Lf/c/a/f2/k;
new-instance v2, Lf/c/a/j;
invoke-direct {v2, v0}, Lf/c/a/j;-><init>(Lf/c/a/a;)V
const-string v3, "Background timer"
invoke-direct {v1, v2, v3}, Lf/c/a/f2/k;-><init>(Ljava/lang/Runnable;Ljava/lang/String;)V
iput-object v1, v0, Lf/c/a/a;->f:Lf/c/a/f2/k;
:cond_e
iget-object v1, v0, Lf/c/a/a;->h:Lf/c/a/a$n;
iget-boolean v1, v1, Lf/c/a/a$n;->h:Z
xor-int/2addr v1, v5
if-eqz v1, :cond_f
iget-object v1, v0, Lf/c/a/a;->m:Lf/c/a/w;
iget-object v1, v1, Lf/c/a/w;->t:Ljava/lang/Double;
if-eqz v1, :cond_f
invoke-virtual {v1}, Ljava/lang/Double;->doubleValue()D
move-result-wide v1
const-wide/16 v3, 0x0
cmpl-double v7, v1, v3
if-lez v7, :cond_f
iget-object v1, v0, Lf/c/a/a;->d:Lf/c/a/w0;
const-string v2, "Delay start configured"
new-array v3, v6, [Ljava/lang/Object;
invoke-interface {v1, v2, v3}, Lf/c/a/w0;->h(Ljava/lang/String;[Ljava/lang/Object;)V
iget-object v1, v0, Lf/c/a/a;->h:Lf/c/a/a$n;
iput-boolean v5, v1, Lf/c/a/a$n;->d:Z
new-instance v1, Lf/c/a/f2/k;
new-instance v2, Lf/c/a/k;
invoke-direct {v2, v0}, Lf/c/a/k;-><init>(Lf/c/a/a;)V
const-string v3, "Delay Start timer"
invoke-direct {v1, v2, v3}, Lf/c/a/f2/k;-><init>(Ljava/lang/Runnable;Ljava/lang/String;)V
iput-object v1, v0, Lf/c/a/a;->g:Lf/c/a/f2/k;
:cond_f
iget-object v1, v0, Lf/c/a/a;->m:Lf/c/a/w;
iget-object v2, v1, Lf/c/a/w;->w:Ljava/lang/String;
sput-object v2, Lv/a/b/b/a;->b:Ljava/lang/String;
iget-object v2, v1, Lf/c/a/w;->a:Ljava/lang/String;
iput-object v2, v0, Lf/c/a/a;->i:Ljava/lang/String;
iget-object v2, v1, Lf/c/a/w;->b:Ljava/lang/String;
iput-object v2, v0, Lf/c/a/a;->j:Ljava/lang/String;
iget-object v2, v1, Lf/c/a/w;->c:Ljava/lang/String;
iput-object v2, v0, Lf/c/a/a;->k:Ljava/lang/String;
iget-object v1, v1, Lf/c/a/w;->d:Landroid/content/Context;
invoke-virtual {v0, v6}, Lf/c/a/a;->G(Z)Z
move-result v2
new-instance v3, Lf/c/a/o1;
invoke-direct {v3, v0, v1, v2}, Lf/c/a/o1;-><init>(Lf/c/a/u0;Landroid/content/Context;Z)V
iput-object v3, v0, Lf/c/a/a;->b:Lf/c/a/x0;
invoke-virtual {v0, v6}, Lf/c/a/a;->G(Z)Z
move-result v1
new-instance v2, Lf/c/a/h0;
invoke-direct {v2, v0, v1}, Lf/c/a/h0;-><init>(Lf/c/a/u0;Z)V
iput-object v2, v0, Lf/c/a/a;->o:Lf/c/a/v0;
invoke-virtual {v0, v5}, Lf/c/a/a;->G(Z)Z
move-result v1
new-instance v2, Lf/c/a/s1;
invoke-direct {v2, v0, v1}, Lf/c/a/s1;-><init>(Lf/c/a/u0;Z)V
iput-object v2, v0, Lf/c/a/a;->p:Lf/c/a/a1;
iget-object v1, v0, Lf/c/a/a;->c:Lf/c/a/v;
if-eqz v1, :cond_10
iget-boolean v1, v1, Lf/c/a/v;->updatePackages:Z
goto :goto_9
:cond_10
iget-object v1, v0, Lf/c/a/a;->h:Lf/c/a/a$n;
iget-boolean v1, v1, Lf/c/a/a$n;->e:Z
:goto_9
if-eqz v1, :cond_11
invoke-virtual {v0}, Lf/c/a/a;->N()V
:cond_11
new-instance v1, Lf/c/a/b1;
iget-object v2, v0, Lf/c/a/a;->m:Lf/c/a/w;
iget-object v2, v2, Lf/c/a/w;->d:Landroid/content/Context;
new-instance v3, Lf/c/a/l;
invoke-direct {v3, v0}, Lf/c/a/l;-><init>(Lf/c/a/a;)V
invoke-direct {v1, v2, v3}, Lf/c/a/b1;-><init>(Landroid/content/Context;Lf/c/a/d1;)V
iput-object v1, v0, Lf/c/a/a;->r:Lf/c/a/b1;
new-instance v1, Lf/c/a/c1;
iget-object v2, v0, Lf/c/a/a;->m:Lf/c/a/w;
iget-object v2, v2, Lf/c/a/w;->d:Landroid/content/Context;
new-instance v3, Lf/c/a/m;
invoke-direct {v3, v0}, Lf/c/a/m;-><init>(Lf/c/a/a;)V
invoke-direct {v1, v2, v3}, Lf/c/a/c1;-><init>(Landroid/content/Context;Lf/c/a/d1;)V
iput-object v1, v0, Lf/c/a/a;->s:Lf/c/a/c1;
iget-object v1, v0, Lf/c/a/a;->m:Lf/c/a/w;
iget-object v1, v1, Lf/c/a/w;->u:Ljava/util/List;
if-nez v1, :cond_12
goto :goto_b
:cond_12
invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v1
:goto_a
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_13
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Lf/c/a/z0;
invoke-interface {v2, v0}, Lf/c/a/z0;->a(Lf/c/a/a;)V
goto :goto_a
:cond_13
:goto_b
invoke-virtual {v0}, Lf/c/a/a;->A()V
return-void
:cond_14
throw v1
.end method