2019-07-24 11:27:29 +00:00
|
|
|
.class final Lio/fabric/sdk/android/m;
|
|
|
|
.super Lio/fabric/sdk/android/i;
|
|
|
|
.source "Onboarding.java"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Lio/fabric/sdk/android/i<",
|
|
|
|
"Ljava/lang/Boolean;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-08-22 06:13:42 +00:00
|
|
|
.field private beQ:Landroid/content/pm/PackageManager;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-22 06:13:42 +00:00
|
|
|
.field private beR:Landroid/content/pm/PackageInfo;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-22 06:13:42 +00:00
|
|
|
.field private beS:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-22 06:13:42 +00:00
|
|
|
.field private beT:Ljava/lang/String;
|
2019-08-14 23:59:34 +00:00
|
|
|
|
2019-08-22 06:13:42 +00:00
|
|
|
.field private final beU:Ljava/util/concurrent/Future;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/concurrent/Future<",
|
|
|
|
"Ljava/util/Map<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
"Lio/fabric/sdk/android/k;",
|
|
|
|
">;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-08-22 06:13:42 +00:00
|
|
|
.field private final beV:Ljava/util/Collection;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/Collection<",
|
|
|
|
"Lio/fabric/sdk/android/i;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
.field private installerPackageName:Ljava/lang/String;
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
.field private final oV:Lio/fabric/sdk/android/a/e/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
.field private packageName:Ljava/lang/String;
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
.field private qw:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
.field private versionName:Ljava/lang/String;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Ljava/util/concurrent/Future;Ljava/util/Collection;)V
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ljava/util/concurrent/Future<",
|
|
|
|
"Ljava/util/Map<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
"Lio/fabric/sdk/android/k;",
|
|
|
|
">;>;",
|
|
|
|
"Ljava/util/Collection<",
|
|
|
|
"Lio/fabric/sdk/android/i;",
|
|
|
|
">;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lio/fabric/sdk/android/i;-><init>()V
|
|
|
|
|
|
|
|
new-instance v0, Lio/fabric/sdk/android/a/e/b;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Lio/fabric/sdk/android/a/e/b;-><init>()V
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iput-object v0, p0, Lio/fabric/sdk/android/m;->oV:Lio/fabric/sdk/android/a/e/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-22 06:13:42 +00:00
|
|
|
iput-object p1, p0, Lio/fabric/sdk/android/m;->beU:Ljava/util/concurrent/Future;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-22 06:13:42 +00:00
|
|
|
iput-object p2, p0, Lio/fabric/sdk/android/m;->beV:Ljava/util/Collection;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-08-21 02:12:52 +00:00
|
|
|
.method private CP()Lio/fabric/sdk/android/a/g/t;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 8
|
|
|
|
|
|
|
|
:try_start_0
|
2019-08-21 02:12:52 +00:00
|
|
|
invoke-static {}, Lio/fabric/sdk/android/a/g/q$a;->DW()Lio/fabric/sdk/android/a/g/q;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iget-object v2, p0, Lio/fabric/sdk/android/m;->qv:Lio/fabric/sdk/android/a/b/s;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iget-object v3, p0, Lio/fabric/sdk/android/m;->oV:Lio/fabric/sdk/android/a/e/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iget-object v4, p0, Lio/fabric/sdk/android/m;->qw:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget-object v5, p0, Lio/fabric/sdk/android/m;->versionName:Ljava/lang/String;
|
|
|
|
|
2019-08-21 02:12:52 +00:00
|
|
|
invoke-direct {p0}, Lio/fabric/sdk/android/m;->CQ()Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v6
|
|
|
|
|
|
|
|
iget-object v1, p0, Lio/fabric/sdk/android/i;->context:Landroid/content/Context;
|
|
|
|
|
2019-08-05 18:07:42 +00:00
|
|
|
invoke-static {v1}, Lio/fabric/sdk/android/a/b/l;->bc(Landroid/content/Context;)Lio/fabric/sdk/android/a/b/l;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
|
|
|
move-object v1, p0
|
|
|
|
|
|
|
|
invoke-virtual/range {v0 .. v7}, Lio/fabric/sdk/android/a/g/q;->a(Lio/fabric/sdk/android/i;Lio/fabric/sdk/android/a/b/s;Lio/fabric/sdk/android/a/e/e;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/fabric/sdk/android/a/b/l;)Lio/fabric/sdk/android/a/g/q;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-08-21 02:12:52 +00:00
|
|
|
invoke-virtual {v0}, Lio/fabric/sdk/android/a/g/q;->DU()Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-21 02:12:52 +00:00
|
|
|
invoke-static {}, Lio/fabric/sdk/android/a/g/q$a;->DW()Lio/fabric/sdk/android/a/g/q;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-08-21 02:12:52 +00:00
|
|
|
invoke-virtual {v0}, Lio/fabric/sdk/android/a/g/q;->DT()Lio/fabric/sdk/android/a/g/t;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
move-exception v0
|
|
|
|
|
2019-08-21 02:12:52 +00:00
|
|
|
invoke-static {}, Lio/fabric/sdk/android/c;->CG()Lio/fabric/sdk/android/l;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
const-string v2, "Fabric"
|
|
|
|
|
|
|
|
const-string v3, "Error dealing with settings"
|
|
|
|
|
|
|
|
invoke-interface {v1, v2, v3, v0}, Lio/fabric/sdk/android/l;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2019-08-21 02:12:52 +00:00
|
|
|
.method private CQ()Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget-object v0, p0, Lio/fabric/sdk/android/i;->context:Landroid/content/Context;
|
|
|
|
|
|
|
|
const-string v1, "com.crashlytics.ApiEndpoint"
|
|
|
|
|
|
|
|
invoke-static {v0, v1}, Lio/fabric/sdk/android/a/b/i;->y(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private a(Lio/fabric/sdk/android/a/g/n;Ljava/util/Collection;)Lio/fabric/sdk/android/a/g/d;
|
|
|
|
.locals 15
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Lio/fabric/sdk/android/a/g/n;",
|
|
|
|
"Ljava/util/Collection<",
|
|
|
|
"Lio/fabric/sdk/android/k;",
|
|
|
|
">;)",
|
|
|
|
"Lio/fabric/sdk/android/a/g/d;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
move-object v0, p0
|
|
|
|
|
|
|
|
iget-object v1, v0, Lio/fabric/sdk/android/i;->context:Landroid/content/Context;
|
|
|
|
|
|
|
|
new-instance v2, Lio/fabric/sdk/android/a/b/g;
|
|
|
|
|
|
|
|
invoke-direct {v2}, Lio/fabric/sdk/android/a/b/g;-><init>()V
|
|
|
|
|
2019-08-05 18:07:42 +00:00
|
|
|
invoke-virtual {v2, v1}, Lio/fabric/sdk/android/a/b/g;->aK(Landroid/content/Context;)Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2019-08-05 18:07:42 +00:00
|
|
|
invoke-static {v1}, Lio/fabric/sdk/android/a/b/i;->aZ(Landroid/content/Context;)Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
new-array v2, v2, [Ljava/lang/String;
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
aput-object v1, v2, v3
|
|
|
|
|
|
|
|
invoke-static {v2}, Lio/fabric/sdk/android/a/b/i;->b([Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
|
|
|
iget-object v1, v0, Lio/fabric/sdk/android/m;->installerPackageName:Ljava/lang/String;
|
|
|
|
|
2019-08-17 08:22:04 +00:00
|
|
|
invoke-static {v1}, Lio/fabric/sdk/android/a/b/m;->dH(Ljava/lang/String;)Lio/fabric/sdk/android/a/b/m;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
iget v10, v1, Lio/fabric/sdk/android/a/b/m;->id:I
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iget-object v1, v0, Lio/fabric/sdk/android/i;->qv:Lio/fabric/sdk/android/a/b/s;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-22 06:13:42 +00:00
|
|
|
iget-object v5, v1, Lio/fabric/sdk/android/a/b/s;->beH:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
new-instance v1, Lio/fabric/sdk/android/a/g/d;
|
|
|
|
|
|
|
|
iget-object v6, v0, Lio/fabric/sdk/android/m;->versionName:Ljava/lang/String;
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iget-object v7, v0, Lio/fabric/sdk/android/m;->qw:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-22 06:13:42 +00:00
|
|
|
iget-object v9, v0, Lio/fabric/sdk/android/m;->beS:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-22 06:13:42 +00:00
|
|
|
iget-object v11, v0, Lio/fabric/sdk/android/m;->beT:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const-string v12, "0"
|
|
|
|
|
|
|
|
move-object v3, v1
|
|
|
|
|
|
|
|
move-object/from16 v13, p1
|
|
|
|
|
|
|
|
move-object/from16 v14, p2
|
|
|
|
|
|
|
|
invoke-direct/range {v3 .. v14}, Lio/fabric/sdk/android/a/g/d;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Lio/fabric/sdk/android/a/g/n;Ljava/util/Collection;)V
|
|
|
|
|
|
|
|
return-object v1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private static b(Ljava/util/Map;Ljava/util/Collection;)Ljava/util/Map;
|
|
|
|
.locals 5
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ljava/util/Map<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
"Lio/fabric/sdk/android/k;",
|
|
|
|
">;",
|
|
|
|
"Ljava/util/Collection<",
|
|
|
|
"Lio/fabric/sdk/android/i;",
|
|
|
|
">;)",
|
|
|
|
"Ljava/util/Map<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
"Lio/fabric/sdk/android/k;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-interface {p1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
:goto_0
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Lio/fabric/sdk/android/i;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lio/fabric/sdk/android/i;->getIdentifier()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-interface {p0, v1}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lio/fabric/sdk/android/i;->getIdentifier()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
new-instance v2, Lio/fabric/sdk/android/k;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lio/fabric/sdk/android/i;->getIdentifier()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lio/fabric/sdk/android/i;->getVersion()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const-string v4, "binary"
|
|
|
|
|
|
|
|
invoke-direct {v2, v3, v0, v4}, Lio/fabric/sdk/android/k;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-interface {p0, v1, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
.method private bW()Ljava/lang/Boolean;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 8
|
|
|
|
|
|
|
|
const-string v0, "Fabric"
|
|
|
|
|
|
|
|
iget-object v1, p0, Lio/fabric/sdk/android/i;->context:Landroid/content/Context;
|
|
|
|
|
2019-08-05 18:07:42 +00:00
|
|
|
invoke-static {v1}, Lio/fabric/sdk/android/a/b/i;->aX(Landroid/content/Context;)Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-08-21 02:12:52 +00:00
|
|
|
invoke-direct {p0}, Lio/fabric/sdk/android/m;->CP()Lio/fabric/sdk/android/a/g/t;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
if-eqz v2, :cond_5
|
|
|
|
|
|
|
|
:try_start_0
|
2019-08-22 06:13:42 +00:00
|
|
|
iget-object v4, p0, Lio/fabric/sdk/android/m;->beU:Ljava/util/concurrent/Future;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
|
2019-08-22 06:13:42 +00:00
|
|
|
iget-object v4, p0, Lio/fabric/sdk/android/m;->beU:Ljava/util/concurrent/Future;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-interface {v4}, Ljava/util/concurrent/Future;->get()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
check-cast v4, Ljava/util/Map;
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance v4, Ljava/util/HashMap;
|
|
|
|
|
|
|
|
invoke-direct {v4}, Ljava/util/HashMap;-><init>()V
|
|
|
|
|
|
|
|
:goto_0
|
2019-08-22 06:13:42 +00:00
|
|
|
iget-object v5, p0, Lio/fabric/sdk/android/m;->beV:Ljava/util/Collection;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {v4, v5}, Lio/fabric/sdk/android/m;->b(Ljava/util/Map;Ljava/util/Collection;)Ljava/util/Map;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2019-08-22 06:13:42 +00:00
|
|
|
iget-object v2, v2, Lio/fabric/sdk/android/a/g/t;->bjh:Lio/fabric/sdk/android/a/g/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-interface {v4}, Ljava/util/Map;->values()Ljava/util/Collection;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
const/4 v5, 0x1
|
|
|
|
|
|
|
|
const-string v6, "new"
|
|
|
|
|
|
|
|
iget-object v7, v2, Lio/fabric/sdk/android/a/g/e;->status:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {v6, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v6
|
|
|
|
|
|
|
|
if-eqz v6, :cond_2
|
|
|
|
|
|
|
|
iget-object v5, p0, Lio/fabric/sdk/android/i;->context:Landroid/content/Context;
|
|
|
|
|
|
|
|
invoke-static {v5, v1}, Lio/fabric/sdk/android/a/g/n;->z(Landroid/content/Context;Ljava/lang/String;)Lio/fabric/sdk/android/a/g/n;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-direct {p0, v1, v4}, Lio/fabric/sdk/android/m;->a(Lio/fabric/sdk/android/a/g/n;Ljava/util/Collection;)Lio/fabric/sdk/android/a/g/d;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
new-instance v4, Lio/fabric/sdk/android/a/g/h;
|
|
|
|
|
2019-08-21 02:12:52 +00:00
|
|
|
invoke-direct {p0}, Lio/fabric/sdk/android/m;->CQ()Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
iget-object v2, v2, Lio/fabric/sdk/android/a/g/e;->url:Ljava/lang/String;
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iget-object v6, p0, Lio/fabric/sdk/android/m;->oV:Lio/fabric/sdk/android/a/e/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-direct {v4, p0, v5, v2, v6}, Lio/fabric/sdk/android/a/g/h;-><init>(Lio/fabric/sdk/android/i;Ljava/lang/String;Ljava/lang/String;Lio/fabric/sdk/android/a/e/e;)V
|
|
|
|
|
|
|
|
invoke-virtual {v4, v1}, Lio/fabric/sdk/android/a/g/h;->a(Lio/fabric/sdk/android/a/g/d;)Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
|
2019-08-21 02:12:52 +00:00
|
|
|
invoke-static {}, Lio/fabric/sdk/android/a/g/q$a;->DW()Lio/fabric/sdk/android/a/g/q;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-08-21 02:12:52 +00:00
|
|
|
invoke-virtual {v1}, Lio/fabric/sdk/android/a/g/q;->DV()Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
2019-08-21 02:12:52 +00:00
|
|
|
invoke-static {}, Lio/fabric/sdk/android/c;->CG()Lio/fabric/sdk/android/l;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
const-string v2, "Failed to create app with Crashlytics service."
|
|
|
|
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
invoke-interface {v1, v0, v2, v4}, Lio/fabric/sdk/android/l;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const-string v6, "configured"
|
|
|
|
|
|
|
|
iget-object v7, v2, Lio/fabric/sdk/android/a/g/e;->status:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {v6, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v6
|
|
|
|
|
|
|
|
if-eqz v6, :cond_3
|
|
|
|
|
2019-08-21 02:12:52 +00:00
|
|
|
invoke-static {}, Lio/fabric/sdk/android/a/g/q$a;->DW()Lio/fabric/sdk/android/a/g/q;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-08-21 02:12:52 +00:00
|
|
|
invoke-virtual {v1}, Lio/fabric/sdk/android/a/g/q;->DV()Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
move v3, v0
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_3
|
2019-08-22 06:13:42 +00:00
|
|
|
iget-boolean v6, v2, Lio/fabric/sdk/android/a/g/e;->biy:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v6, :cond_4
|
|
|
|
|
2019-08-21 02:12:52 +00:00
|
|
|
invoke-static {}, Lio/fabric/sdk/android/c;->CG()Lio/fabric/sdk/android/l;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v6
|
|
|
|
|
|
|
|
const-string v7, "Server says an update is required - forcing a full App update."
|
|
|
|
|
|
|
|
invoke-interface {v6, v0, v7}, Lio/fabric/sdk/android/l;->d(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
iget-object v6, p0, Lio/fabric/sdk/android/i;->context:Landroid/content/Context;
|
|
|
|
|
|
|
|
invoke-static {v6, v1}, Lio/fabric/sdk/android/a/g/n;->z(Landroid/content/Context;Ljava/lang/String;)Lio/fabric/sdk/android/a/g/n;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-direct {p0, v1, v4}, Lio/fabric/sdk/android/m;->a(Lio/fabric/sdk/android/a/g/n;Ljava/util/Collection;)Lio/fabric/sdk/android/a/g/d;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
new-instance v4, Lio/fabric/sdk/android/a/g/y;
|
|
|
|
|
2019-08-21 02:12:52 +00:00
|
|
|
invoke-direct {p0}, Lio/fabric/sdk/android/m;->CQ()Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v6
|
|
|
|
|
|
|
|
iget-object v2, v2, Lio/fabric/sdk/android/a/g/e;->url:Ljava/lang/String;
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iget-object v7, p0, Lio/fabric/sdk/android/m;->oV:Lio/fabric/sdk/android/a/e/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-direct {v4, p0, v6, v2, v7}, Lio/fabric/sdk/android/a/g/y;-><init>(Lio/fabric/sdk/android/i;Ljava/lang/String;Ljava/lang/String;Lio/fabric/sdk/android/a/e/e;)V
|
|
|
|
|
|
|
|
invoke-virtual {v4, v1}, Lio/fabric/sdk/android/a/g/y;->a(Lio/fabric/sdk/android/a/g/d;)Z
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
const/4 v3, 0x1
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
move-exception v1
|
|
|
|
|
2019-08-21 02:12:52 +00:00
|
|
|
invoke-static {}, Lio/fabric/sdk/android/c;->CG()Lio/fabric/sdk/android/l;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
const-string v4, "Error performing auto configuration."
|
|
|
|
|
|
|
|
invoke-interface {v2, v0, v4, v1}, Lio/fabric/sdk/android/l;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
:goto_2
|
|
|
|
invoke-static {v3}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-07-31 00:08:31 +00:00
|
|
|
.method protected final synthetic bS()Ljava/lang/Object;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 1
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
invoke-direct {p0}, Lio/fabric/sdk/android/m;->bW()Ljava/lang/Boolean;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
.method protected final bV()Z
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 5
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
:try_start_0
|
2019-07-31 00:08:31 +00:00
|
|
|
iget-object v1, p0, Lio/fabric/sdk/android/i;->qv:Lio/fabric/sdk/android/a/b/s;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v1}, Lio/fabric/sdk/android/a/b/s;->getInstallerPackageName()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
iput-object v1, p0, Lio/fabric/sdk/android/m;->installerPackageName:Ljava/lang/String;
|
|
|
|
|
|
|
|
iget-object v1, p0, Lio/fabric/sdk/android/i;->context:Landroid/content/Context;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-08-22 06:13:42 +00:00
|
|
|
iput-object v1, p0, Lio/fabric/sdk/android/m;->beQ:Landroid/content/pm/PackageManager;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget-object v1, p0, Lio/fabric/sdk/android/i;->context:Landroid/content/Context;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
iput-object v1, p0, Lio/fabric/sdk/android/m;->packageName:Ljava/lang/String;
|
|
|
|
|
2019-08-22 06:13:42 +00:00
|
|
|
iget-object v1, p0, Lio/fabric/sdk/android/m;->beQ:Landroid/content/pm/PackageManager;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget-object v2, p0, Lio/fabric/sdk/android/m;->packageName:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2, v0}, Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-08-22 06:13:42 +00:00
|
|
|
iput-object v1, p0, Lio/fabric/sdk/android/m;->beR:Landroid/content/pm/PackageInfo;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-22 06:13:42 +00:00
|
|
|
iget-object v1, p0, Lio/fabric/sdk/android/m;->beR:Landroid/content/pm/PackageInfo;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget v1, v1, Landroid/content/pm/PackageInfo;->versionCode:I
|
|
|
|
|
|
|
|
invoke-static {v1}, Ljava/lang/Integer;->toString(I)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iput-object v1, p0, Lio/fabric/sdk/android/m;->qw:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-22 06:13:42 +00:00
|
|
|
iget-object v1, p0, Lio/fabric/sdk/android/m;->beR:Landroid/content/pm/PackageInfo;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget-object v1, v1, Landroid/content/pm/PackageInfo;->versionName:Ljava/lang/String;
|
|
|
|
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
|
|
|
|
const-string v1, "0.0"
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
2019-08-22 06:13:42 +00:00
|
|
|
iget-object v1, p0, Lio/fabric/sdk/android/m;->beR:Landroid/content/pm/PackageInfo;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget-object v1, v1, Landroid/content/pm/PackageInfo;->versionName:Ljava/lang/String;
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
iput-object v1, p0, Lio/fabric/sdk/android/m;->versionName:Ljava/lang/String;
|
|
|
|
|
2019-08-22 06:13:42 +00:00
|
|
|
iget-object v1, p0, Lio/fabric/sdk/android/m;->beQ:Landroid/content/pm/PackageManager;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget-object v2, p0, Lio/fabric/sdk/android/i;->context:Landroid/content/Context;
|
|
|
|
|
|
|
|
invoke-virtual {v2}, Landroid/content/Context;->getApplicationInfo()Landroid/content/pm/ApplicationInfo;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Landroid/content/pm/PackageManager;->getApplicationLabel(Landroid/content/pm/ApplicationInfo;)Ljava/lang/CharSequence;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-interface {v1}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-08-22 06:13:42 +00:00
|
|
|
iput-object v1, p0, Lio/fabric/sdk/android/m;->beS:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget-object v1, p0, Lio/fabric/sdk/android/i;->context:Landroid/content/Context;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Landroid/content/Context;->getApplicationInfo()Landroid/content/pm/ApplicationInfo;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
iget v1, v1, Landroid/content/pm/ApplicationInfo;->targetSdkVersion:I
|
|
|
|
|
|
|
|
invoke-static {v1}, Ljava/lang/Integer;->toString(I)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-08-22 06:13:42 +00:00
|
|
|
iput-object v1, p0, Lio/fabric/sdk/android/m;->beT:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
:try_end_0
|
|
|
|
.catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
return v0
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
move-exception v1
|
|
|
|
|
2019-08-21 02:12:52 +00:00
|
|
|
invoke-static {}, Lio/fabric/sdk/android/c;->CG()Lio/fabric/sdk/android/l;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
const-string v3, "Fabric"
|
|
|
|
|
|
|
|
const-string v4, "Failed init"
|
|
|
|
|
|
|
|
invoke-interface {v2, v3, v4, v1}, Lio/fabric/sdk/android/l;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final getIdentifier()Ljava/lang/String;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const-string v0, "io.fabric.sdk.android:fabric"
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final getVersion()Ljava/lang/String;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const-string v0, "1.4.8.32"
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|