2019-12-06 03:29:40 +00:00
|
|
|
.class public Le/h/a/a;
|
2019-12-13 02:35:12 +00:00
|
|
|
.super Lq/a/a/a/l;
|
2019-12-06 03:29:40 +00:00
|
|
|
.source "Crashlytics.java"
|
|
|
|
|
|
|
|
# interfaces
|
2019-12-13 02:35:12 +00:00
|
|
|
.implements Lq/a/a/a/m;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2019-12-13 02:35:12 +00:00
|
|
|
"Lq/a/a/a/l<",
|
2019-12-06 03:29:40 +00:00
|
|
|
"Ljava/lang/Void;",
|
|
|
|
">;",
|
2019-12-13 02:35:12 +00:00
|
|
|
"Lq/a/a/a/m;"
|
2019-12-06 03:29:40 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final j:Le/h/a/e/d0;
|
|
|
|
|
|
|
|
.field public final k:Ljava/util/Collection;
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/Collection<",
|
|
|
|
"+",
|
2019-12-13 02:35:12 +00:00
|
|
|
"Lq/a/a/a/l;",
|
2019-12-06 03:29:40 +00:00
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>()V
|
|
|
|
.locals 5
|
|
|
|
|
|
|
|
new-instance v0, Lcom/crashlytics/android/answers/Answers;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Lcom/crashlytics/android/answers/Answers;-><init>()V
|
|
|
|
|
|
|
|
new-instance v1, Le/h/a/d/a;
|
|
|
|
|
|
|
|
invoke-direct {v1}, Le/h/a/d/a;-><init>()V
|
|
|
|
|
|
|
|
new-instance v2, Le/h/a/e/d0;
|
|
|
|
|
|
|
|
invoke-direct {v2}, Le/h/a/e/d0;-><init>()V
|
|
|
|
|
2019-12-13 02:35:12 +00:00
|
|
|
invoke-direct {p0}, Lq/a/a/a/l;-><init>()V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
iput-object v2, p0, Le/h/a/a;->j:Le/h/a/e/d0;
|
|
|
|
|
|
|
|
const/4 v3, 0x3
|
|
|
|
|
2019-12-13 02:35:12 +00:00
|
|
|
new-array v3, v3, [Lq/a/a/a/l;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
aput-object v0, v3, v4
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
aput-object v1, v3, v0
|
|
|
|
|
|
|
|
const/4 v0, 0x2
|
|
|
|
|
|
|
|
aput-object v2, v3, v0
|
|
|
|
|
|
|
|
invoke-static {v3}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-static {v0}, Ljava/util/Collections;->unmodifiableCollection(Ljava/util/Collection;)Ljava/util/Collection;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Le/h/a/a;->k:Ljava/util/Collection;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static a(Ljava/lang/String;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
invoke-static {}, Le/h/a/a;->m()V
|
|
|
|
|
|
|
|
invoke-static {}, Le/h/a/a;->r()Le/h/a/a;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iget-object v0, v0, Le/h/a/a;->j:Le/h/a/e/d0;
|
|
|
|
|
|
|
|
invoke-virtual {v0, p0}, Le/h/a/e/d0;->a(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static a(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
.locals 5
|
|
|
|
|
|
|
|
invoke-static {}, Le/h/a/a;->m()V
|
|
|
|
|
|
|
|
invoke-static {}, Le/h/a/a;->r()Le/h/a/a;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iget-object v0, v0, Le/h/a/a;->j:Le/h/a/e/d0;
|
|
|
|
|
|
|
|
iget-boolean v1, v0, Le/h/a/e/d0;->t:Z
|
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
|
|
|
goto/16 :goto_2
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string v1, "prior to setting keys."
|
|
|
|
|
|
|
|
invoke-static {v1}, Le/h/a/e/d0;->b(Ljava/lang/String;)Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
const-string v2, "CrashlyticsCore"
|
|
|
|
|
|
|
|
if-nez p0, :cond_4
|
|
|
|
|
2019-12-13 02:35:12 +00:00
|
|
|
iget-object p0, v0, Lq/a/a/a/l;->f:Landroid/content/Context;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
if-eqz p0, :cond_3
|
|
|
|
|
2019-12-13 02:35:12 +00:00
|
|
|
invoke-static {p0}, Lq/a/a/a/p/b/j;->f(Landroid/content/Context;)Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-nez p0, :cond_2
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
const-string p1, "Custom attribute key must not be null."
|
|
|
|
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p0
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
:goto_0
|
2019-12-13 02:35:12 +00:00
|
|
|
invoke-static {}, Lq/a/a/a/f;->a()Lq/a/a/a/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
const/4 p1, 0x6
|
|
|
|
|
2019-12-13 02:35:12 +00:00
|
|
|
invoke-virtual {p0, v2, p1}, Lq/a/a/a/c;->a(Ljava/lang/String;I)Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_7
|
|
|
|
|
|
|
|
const-string p0, "Attempting to set custom attribute with null key, ignoring."
|
|
|
|
|
|
|
|
invoke-static {v2, p0, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
invoke-static {p0}, Le/h/a/e/d0;->c(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
iget-object v3, v0, Le/h/a/e/d0;->k:Ljava/util/concurrent/ConcurrentHashMap;
|
|
|
|
|
|
|
|
invoke-virtual {v3}, Ljava/util/concurrent/ConcurrentHashMap;->size()I
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
const/16 v4, 0x40
|
|
|
|
|
|
|
|
if-lt v3, v4, :cond_5
|
|
|
|
|
|
|
|
iget-object v3, v0, Le/h/a/e/d0;->k:Ljava/util/concurrent/ConcurrentHashMap;
|
|
|
|
|
|
|
|
invoke-virtual {v3, p0}, Ljava/util/concurrent/ConcurrentHashMap;->containsKey(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
if-nez v3, :cond_5
|
|
|
|
|
2019-12-13 02:35:12 +00:00
|
|
|
invoke-static {}, Lq/a/a/a/f;->a()Lq/a/a/a/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
const/4 p1, 0x3
|
|
|
|
|
2019-12-13 02:35:12 +00:00
|
|
|
invoke-virtual {p0, v2, p1}, Lq/a/a/a/c;->a(Ljava/lang/String;I)Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_7
|
|
|
|
|
|
|
|
const-string p0, "Exceeded maximum number of custom attributes (64)"
|
|
|
|
|
|
|
|
invoke-static {v2, p0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
if-nez p1, :cond_6
|
|
|
|
|
|
|
|
const-string p1, ""
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
invoke-static {p1}, Le/h/a/e/d0;->c(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
iget-object v1, v0, Le/h/a/e/d0;->k:Ljava/util/concurrent/ConcurrentHashMap;
|
|
|
|
|
|
|
|
invoke-virtual {v1, p0, p1}, Ljava/util/concurrent/ConcurrentHashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
iget-object p0, v0, Le/h/a/e/d0;->o:Le/h/a/e/n;
|
|
|
|
|
|
|
|
iget-object p1, v0, Le/h/a/e/d0;->k:Ljava/util/concurrent/ConcurrentHashMap;
|
|
|
|
|
|
|
|
iget-object v0, p0, Le/h/a/e/n;->c:Le/h/a/e/m;
|
|
|
|
|
|
|
|
new-instance v1, Le/h/a/e/o;
|
|
|
|
|
|
|
|
invoke-direct {v1, p0, p1}, Le/h/a/e/o;-><init>(Le/h/a/e/n;Ljava/util/Map;)V
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Le/h/a/e/m;->a(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Future;
|
|
|
|
|
|
|
|
:cond_7
|
|
|
|
:goto_2
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static m()V
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
invoke-static {}, Le/h/a/a;->r()Le/h/a/a;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
|
|
|
|
const-string v1, "Crashlytics must be initialized by calling Fabric.with(Context) prior to calling Crashlytics.getInstance()"
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static r()Le/h/a/a;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const-class v0, Le/h/a/a;
|
|
|
|
|
2019-12-13 02:35:12 +00:00
|
|
|
invoke-static {v0}, Lq/a/a/a/f;->a(Ljava/lang/Class;)Lq/a/a/a/l;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Le/h/a/a;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public a()Ljava/lang/Object;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public e()Ljava/lang/String;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const-string v0, "com.crashlytics.sdk.android:crashlytics"
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public g()Ljava/lang/String;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const-string v0, "2.10.0.33"
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|