2019-02-04 20:08:30 +00:00
.class public L io/fabric/sdk/android/c ;
.super L java/lang/Object ;
2019-02-04 20:29:01 +00:00
.source "Fabric.java"
2019-02-04 20:08:30 +00:00
# annotations
.annotation system L dalvik/annotation/MemberClasses ;
value = {
L io/fabric/sdk/android/c$a ;
}
.end annotation
# static fields
2019-06-25 01:04:50 +00:00
.field static volatile aZR : L io/fabric/sdk/android/c ;
2019-02-04 20:08:30 +00:00
2019-06-25 01:04:50 +00:00
.field static final aZS : L io/fabric/sdk/android/l ;
2019-02-04 20:08:30 +00:00
# instance fields
2019-06-25 01:04:50 +00:00
.field private final aZT : L java/util/Map ;
2019-05-16 22:41:35 +00:00
.annotation system L dalvik/annotation/Signature ;
value = {
"Ljava/util/Map<" ,
"Ljava/lang/Class<" ,
"+" ,
"Lio/fabric/sdk/android/i;" ,
">;" ,
"Lio/fabric/sdk/android/i;" ,
">;"
}
.end annotation
.end field
2019-06-25 01:04:50 +00:00
.field private final aZU : L android/os/Handler ;
2019-02-04 20:08:30 +00:00
2019-06-25 01:04:50 +00:00
.field private final aZV : L io/fabric/sdk/android/f ;
2019-02-04 20:08:30 +00:00
.annotation system L dalvik/annotation/Signature ;
value = {
"Lio/fabric/sdk/android/f<" ,
"Lio/fabric/sdk/android/c;" ,
">;"
}
.end annotation
.end field
2019-06-25 01:04:50 +00:00
.field private final aZW : L io/fabric/sdk/android/f ;
2019-02-04 20:08:30 +00:00
.annotation system L dalvik/annotation/Signature ;
value = {
"Lio/fabric/sdk/android/f<" ,
"*>;"
}
.end annotation
.end field
2019-06-25 01:04:50 +00:00
.field private aZX : L io/fabric/sdk/android/a ;
2019-03-30 08:05:33 +00:00
2019-06-25 01:04:50 +00:00
.field public aZY : L java/lang/ref/WeakReference ;
2019-03-30 08:05:33 +00:00
.annotation system L dalvik/annotation/Signature ;
value = {
"Ljava/lang/ref/WeakReference<" ,
"Landroid/app/Activity;" ,
">;"
}
.end annotation
.end field
2019-06-25 01:04:50 +00:00
.field private aZZ : L java/util/concurrent/atomic/AtomicBoolean ;
2019-05-14 21:53:09 +00:00
2019-06-25 01:04:50 +00:00
.field final baa : L io/fabric/sdk/android/l ;
2019-05-14 21:53:09 +00:00
2019-06-25 01:04:50 +00:00
.field final bab : Z
2019-05-08 22:54:48 +00:00
2019-02-04 20:08:30 +00:00
.field private final context : L android/content/Context ;
.field public final executorService : L java/util/concurrent/ExecutorService ;
2019-05-03 18:53:54 +00:00
.field private final oP : L io/fabric/sdk/android/a/b/s ;
2019-02-04 20:08:30 +00:00
# direct methods
.method static constructor <clinit> ( ) V
.locals 2
new-instance v0 , L io/fabric/sdk/android/b ;
const/4 v1 , 0x0
invoke-direct { v0 , v1 } , L io/fabric/sdk/android/b ;-> <init> ( B ) V
2019-06-25 01:04:50 +00:00
sput-object v0 , L io/fabric/sdk/android/c ;-> aZS : L io/fabric/sdk/android/l ;
2019-02-04 20:08:30 +00:00
return-void
.end method
2019-05-03 18:53:54 +00:00
.method private constructor <init> ( L android/content/Context ;L java/util/Map ;L io/fabric/sdk/android/a/c/k ;L android/os/Handler ;L io/fabric/sdk/android/l ;Z L io/fabric/sdk/android/f ;L io/fabric/sdk/android/a/b/s ;L android/app/Activity ;) V
2019-02-04 20:08:30 +00:00
.locals 0
.annotation system L dalvik/annotation/Signature ;
value = {
"(" ,
"Landroid/content/Context;" ,
"Ljava/util/Map<" ,
"Ljava/lang/Class<" ,
"+" ,
"Lio/fabric/sdk/android/i;" ,
">;" ,
"Lio/fabric/sdk/android/i;" ,
">;" ,
"Lio/fabric/sdk/android/a/c/k;" ,
"Landroid/os/Handler;" ,
"Lio/fabric/sdk/android/l;" ,
"Z" ,
"Lio/fabric/sdk/android/f;" ,
2019-05-03 18:53:54 +00:00
"Lio/fabric/sdk/android/a/b/s;" ,
2019-02-04 20:08:30 +00:00
"Landroid/app/Activity;" ,
")V"
}
.end annotation
invoke-direct { p0 } , L java/lang/Object ;-> <init> ( ) V
iput-object p1 , p0 , L io/fabric/sdk/android/c ;-> context : L android/content/Context ;
2019-06-25 01:04:50 +00:00
iput-object p2 , p0 , L io/fabric/sdk/android/c ;-> aZT : L java/util/Map ;
2019-02-04 20:08:30 +00:00
iput-object p3 , p0 , L io/fabric/sdk/android/c ;-> executorService : L java/util/concurrent/ExecutorService ;
2019-06-25 01:04:50 +00:00
iput-object p4 , p0 , L io/fabric/sdk/android/c ;-> aZU : L android/os/Handler ;
2019-02-04 20:08:30 +00:00
2019-06-25 01:04:50 +00:00
iput-object p5 , p0 , L io/fabric/sdk/android/c ;-> baa : L io/fabric/sdk/android/l ;
2019-02-04 20:08:30 +00:00
2019-06-25 01:04:50 +00:00
iput-boolean p6 , p0 , L io/fabric/sdk/android/c ;-> bab : Z
2019-02-04 20:08:30 +00:00
2019-06-25 01:04:50 +00:00
iput-object p7 , p0 , L io/fabric/sdk/android/c ;-> aZV : L io/fabric/sdk/android/f ;
2019-02-04 20:08:30 +00:00
new-instance p1 , L java/util/concurrent/atomic/AtomicBoolean ;
const/4 p3 , 0x0
invoke-direct { p1 , p3 } , L java/util/concurrent/atomic/AtomicBoolean ;-> <init> ( Z ) V
2019-06-25 01:04:50 +00:00
iput-object p1 , p0 , L io/fabric/sdk/android/c ;-> aZZ : L java/util/concurrent/atomic/AtomicBoolean ;
2019-02-04 20:08:30 +00:00
invoke-interface { p2 } , L java/util/Map ;-> size ( ) I
move-result p1
new-instance p2 , L io/fabric/sdk/android/c$2 ;
invoke-direct { p2 , p0 , p1 } , L io/fabric/sdk/android/c$2 ;-> <init> ( L io/fabric/sdk/android/c ;I ) V
2019-06-25 01:04:50 +00:00
iput-object p2 , p0 , L io/fabric/sdk/android/c ;-> aZW : L io/fabric/sdk/android/f ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iput-object p8 , p0 , L io/fabric/sdk/android/c ;-> oP : L io/fabric/sdk/android/a/b/s ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-virtual { p0 , p9 } , L io/fabric/sdk/android/c ;-> h ( L android/app/Activity ;) L io/fabric/sdk/android/c ;
2019-02-04 20:08:30 +00:00
return-void
.end method
2019-05-03 18:53:54 +00:00
.method public static P ( L java/lang/Class ;) L io/fabric/sdk/android/i ;
2019-02-04 20:08:30 +00:00
.locals 1
2019-02-04 20:32:01 +00:00
.annotation system L dalvik/annotation/Signature ;
value = {
"<T:" ,
"Lio/fabric/sdk/android/i;" ,
">(" ,
"Ljava/lang/Class<" ,
"TT;>;)TT;"
}
.end annotation
2019-02-04 20:08:30 +00:00
2019-06-25 01:04:50 +00:00
sget-object v0 , L io/fabric/sdk/android/c ;-> aZR : L io/fabric/sdk/android/c ;
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
if-eqz v0 , :cond_0
2019-02-04 20:08:30 +00:00
2019-06-25 01:04:50 +00:00
sget-object v0 , L io/fabric/sdk/android/c ;-> aZR : L io/fabric/sdk/android/c ;
2019-02-04 20:08:30 +00:00
2019-06-25 01:04:50 +00:00
iget-object v0 , v0 , L io/fabric/sdk/android/c ;-> aZT : L java/util/Map ;
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
invoke-interface { v0 , p0 } , L java/util/Map ;-> get ( L java/lang/Object ;) L java/lang/Object ;
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
move-result-object p0
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
check-cast p0 , L io/fabric/sdk/android/i ;
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
return-object p0
2019-02-04 20:08:30 +00:00
:cond_0
2019-02-04 20:32:01 +00:00
new-instance p0 , L java/lang/IllegalStateException ;
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
const-string v0 , "Must Initialize Fabric before using singleton()"
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
invoke-direct { p0 , v0 } , L java/lang/IllegalStateException ;-> <init> ( L java/lang/String ;) V
throw p0
2019-02-04 20:08:30 +00:00
.end method
.method public static varargs a ( L android/content/Context ;[ L io/fabric/sdk/android/i ;) L io/fabric/sdk/android/c ;
.locals 13
2019-06-25 01:04:50 +00:00
sget-object v0 , L io/fabric/sdk/android/c ;-> aZR : L io/fabric/sdk/android/c ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
if-nez v0 , :cond_11
2019-02-04 20:08:30 +00:00
const-class v0 , L io/fabric/sdk/android/c ;
monitor-enter v0
:try_start_0
2019-06-25 01:04:50 +00:00
sget-object v1 , L io/fabric/sdk/android/c ;-> aZR : L io/fabric/sdk/android/c ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
if-nez v1 , :cond_10
2019-02-04 20:08:30 +00:00
new-instance v1 , L io/fabric/sdk/android/c$a ;
invoke-direct { v1 , p0 } , L io/fabric/sdk/android/c$a ;-> <init> ( L android/content/Context ;) V
2019-06-25 01:04:50 +00:00
iget-object p0 , v1 , L io/fabric/sdk/android/c$a ;-> baf : [ L io/fabric/sdk/android/i ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
if-nez p0 , :cond_f
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iget-object p0 , v1 , L io/fabric/sdk/android/c$a ;-> context : L android/content/Context ;
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
invoke-static { p0 } , L io/fabric/sdk/android/a/b/l ;-> bb ( L android/content/Context ;) L io/fabric/sdk/android/a/b/l ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
move-result-object p0
2019-02-04 20:08:30 +00:00
2019-06-25 01:04:50 +00:00
invoke-virtual { p0 } , L io/fabric/sdk/android/a/b/l ;-> yC ( ) Z
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
move-result p0
const/4 v2 , 0x0
2019-05-03 18:53:54 +00:00
if-nez p0 , :cond_6
2019-02-04 20:32:01 +00:00
new-instance p0 , L java/util/ArrayList ;
invoke-direct { p0 } , L java/util/ArrayList ;-> <init> ( ) V
array-length v3 , p1
const/4 v4 , 0x0
const/4 v5 , 0x0
:goto_0
2019-05-03 18:53:54 +00:00
if-ge v4 , v3 , :cond_5
2019-02-04 20:32:01 +00:00
aget-object v6 , p1 , v4
invoke-virtual { v6 } , L io/fabric/sdk/android/i ;-> getIdentifier ( ) L java/lang/String ;
move-result-object v7
const/4 v8 , - 0x1
invoke-virtual { v7 } , L java/lang/String ;-> hashCode ( ) I
move-result v9
const v10 , 0x243171f4
const/4 v11 , 0x1
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
if-eq v9 , v10 , :cond_1
const v10 , 0x6d1a7d18
if-eq v9 , v10 , :cond_0
goto :goto_1
2019-02-04 20:08:30 +00:00
:cond_0
2019-02-04 20:32:01 +00:00
const-string v9 , "com.crashlytics.sdk.android:crashlytics"
invoke-virtual { v7 , v9 } , L java/lang/String ;-> equals ( L java/lang/Object ;) Z
move-result v7
if-eqz v7 , :cond_2
const/4 v8 , 0x0
goto :goto_1
:cond_1
const-string v9 , "com.crashlytics.sdk.android:answers"
invoke-virtual { v7 , v9 } , L java/lang/String ;-> equals ( L java/lang/Object ;) Z
move-result v7
if-eqz v7 , :cond_2
const/4 v8 , 0x1
:cond_2
:goto_1
2019-05-03 18:53:54 +00:00
if-eqz v8 , :cond_3
2019-02-04 20:32:01 +00:00
2019-05-03 18:53:54 +00:00
if-eq v8 , v11 , :cond_3
2019-02-04 20:32:01 +00:00
2019-05-03 18:53:54 +00:00
if-nez v5 , :cond_4
2019-02-04 20:32:01 +00:00
2019-06-25 01:04:50 +00:00
invoke-static { } , L io/fabric/sdk/android/c ;-> yf ( ) L io/fabric/sdk/android/l ;
2019-02-04 20:32:01 +00:00
2019-05-03 18:53:54 +00:00
move-result-object v5
2019-02-04 20:32:01 +00:00
const-string v6 , "Fabric"
const-string v7 , "Fabric will not initialize any kits when Firebase automatic data collection is disabled; to use Third-party kits with automatic data collection disabled, initialize these kits via non-Fabric means."
invoke-interface { v5 , v6 , v7 } , L io/fabric/sdk/android/l ;-> w ( L java/lang/String ;L java/lang/String ;) V
const/4 v5 , 0x1
2019-05-03 18:53:54 +00:00
goto :goto_2
2019-02-04 20:32:01 +00:00
:cond_3
2019-05-03 18:53:54 +00:00
invoke-interface { p0 , v6 } , L java/util/List ;-> add ( L java/lang/Object ;) Z
:cond_4
:goto_2
2019-02-04 20:32:01 +00:00
add-int/lit8 v4 , v4 , 0x1
goto :goto_0
2019-05-03 18:53:54 +00:00
:cond_5
2019-02-04 20:32:01 +00:00
new-array p1 , v2 , [ L io/fabric/sdk/android/i ;
invoke-interface { p0 , p1 } , L java/util/List ;-> toArray ( [ L java/lang/Object ;) [ L java/lang/Object ;
move-result-object p0
move-object p1 , p0
check-cast p1 , [ L io/fabric/sdk/android/i ;
2019-05-03 18:53:54 +00:00
:cond_6
2019-06-25 01:04:50 +00:00
iput-object p1 , v1 , L io/fabric/sdk/android/c$a ;-> baf : [ L io/fabric/sdk/android/i ;
2019-02-04 20:32:01 +00:00
2019-06-25 01:04:50 +00:00
iget-object p0 , v1 , L io/fabric/sdk/android/c$a ;-> bag : L io/fabric/sdk/android/a/c/k ;
2019-02-04 20:32:01 +00:00
2019-05-03 18:53:54 +00:00
if-nez p0 , :cond_7
2019-02-04 20:32:01 +00:00
2019-06-25 01:04:50 +00:00
invoke-static { } , L io/fabric/sdk/android/a/c/k ;-> yR ( ) L io/fabric/sdk/android/a/c/k ;
2019-02-04 20:32:01 +00:00
move-result-object p0
2019-06-25 01:04:50 +00:00
iput-object p0 , v1 , L io/fabric/sdk/android/c$a ;-> bag : L io/fabric/sdk/android/a/c/k ;
2019-02-04 20:32:01 +00:00
2019-05-03 18:53:54 +00:00
:cond_7
2019-02-04 20:08:30 +00:00
iget-object p0 , v1 , L io/fabric/sdk/android/c$a ;-> handler : L android/os/Handler ;
2019-05-03 18:53:54 +00:00
if-nez p0 , :cond_8
2019-02-04 20:08:30 +00:00
new-instance p0 , L android/os/Handler ;
invoke-static { } , L android/os/Looper ;-> getMainLooper ( ) L android/os/Looper ;
move-result-object p1
invoke-direct { p0 , p1 } , L android/os/Handler ;-> <init> ( L android/os/Looper ;) V
iput-object p0 , v1 , L io/fabric/sdk/android/c$a ;-> handler : L android/os/Handler ;
2019-05-03 18:53:54 +00:00
:cond_8
2019-06-25 01:04:50 +00:00
iget-object p0 , v1 , L io/fabric/sdk/android/c$a ;-> baa : L io/fabric/sdk/android/l ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
if-nez p0 , :cond_a
2019-02-04 20:08:30 +00:00
2019-06-25 01:04:50 +00:00
iget-boolean p0 , v1 , L io/fabric/sdk/android/c$a ;-> bab : Z
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
if-eqz p0 , :cond_9
2019-02-04 20:08:30 +00:00
new-instance p0 , L io/fabric/sdk/android/b ;
invoke-direct { p0 } , L io/fabric/sdk/android/b ;-> <init> ( ) V
2019-06-25 01:04:50 +00:00
iput-object p0 , v1 , L io/fabric/sdk/android/c$a ;-> baa : L io/fabric/sdk/android/l ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
goto :goto_3
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
:cond_9
2019-02-04 20:08:30 +00:00
new-instance p0 , L io/fabric/sdk/android/b ;
2019-02-04 20:32:01 +00:00
invoke-direct { p0 , v2 } , L io/fabric/sdk/android/b ;-> <init> ( B ) V
2019-02-04 20:08:30 +00:00
2019-06-25 01:04:50 +00:00
iput-object p0 , v1 , L io/fabric/sdk/android/c$a ;-> baa : L io/fabric/sdk/android/l ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
:cond_a
:goto_3
2019-06-25 01:04:50 +00:00
iget-object p0 , v1 , L io/fabric/sdk/android/c$a ;-> bai : L java/lang/String ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
if-nez p0 , :cond_b
2019-02-04 20:08:30 +00:00
iget-object p0 , v1 , L io/fabric/sdk/android/c$a ;-> context : L android/content/Context ;
invoke-virtual { p0 } , L android/content/Context ;-> getPackageName ( ) L java/lang/String ;
move-result-object p0
2019-06-25 01:04:50 +00:00
iput-object p0 , v1 , L io/fabric/sdk/android/c$a ;-> bai : L java/lang/String ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
:cond_b
2019-06-25 01:04:50 +00:00
iget-object p0 , v1 , L io/fabric/sdk/android/c$a ;-> aZV : L io/fabric/sdk/android/f ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
if-nez p0 , :cond_c
2019-02-04 20:08:30 +00:00
2019-06-25 01:04:50 +00:00
sget-object p0 , L io/fabric/sdk/android/f ;-> bam : L io/fabric/sdk/android/f ;
2019-02-04 20:08:30 +00:00
2019-06-25 01:04:50 +00:00
iput-object p0 , v1 , L io/fabric/sdk/android/c$a ;-> aZV : L io/fabric/sdk/android/f ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
:cond_c
2019-06-25 01:04:50 +00:00
iget-object p0 , v1 , L io/fabric/sdk/android/c$a ;-> baf : [ L io/fabric/sdk/android/i ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
if-nez p0 , :cond_d
2019-02-04 20:08:30 +00:00
new-instance p0 , L java/util/HashMap ;
invoke-direct { p0 } , L java/util/HashMap ;-> <init> ( ) V
move-object v5 , p0
2019-05-03 18:53:54 +00:00
goto :goto_4
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
:cond_d
2019-06-25 01:04:50 +00:00
iget-object p0 , v1 , L io/fabric/sdk/android/c$a ;-> baf : [ L io/fabric/sdk/android/i ;
2019-02-04 20:08:30 +00:00
invoke-static { p0 } , L java/util/Arrays ;-> asList ( [ L java/lang/Object ;) L java/util/List ;
move-result-object p0
new-instance p1 , L java/util/HashMap ;
invoke-interface { p0 } , L java/util/Collection ;-> size ( ) I
move-result v2
invoke-direct { p1 , v2 } , L java/util/HashMap ;-> <init> ( I ) V
invoke-static { p1 , p0 } , L io/fabric/sdk/android/c ;-> a ( L java/util/Map ;L java/util/Collection ;) V
move-object v5 , p1
2019-05-03 18:53:54 +00:00
:goto_4
2019-02-04 20:08:30 +00:00
iget-object p0 , v1 , L io/fabric/sdk/android/c$a ;-> context : L android/content/Context ;
invoke-virtual { p0 } , L android/content/Context ;-> getApplicationContext ( ) L android/content/Context ;
move-result-object v4
2019-05-03 18:53:54 +00:00
new-instance v11 , L io/fabric/sdk/android/a/b/s ;
2019-02-04 20:08:30 +00:00
2019-06-25 01:04:50 +00:00
iget-object p0 , v1 , L io/fabric/sdk/android/c$a ;-> bai : L java/lang/String ;
2019-02-04 20:08:30 +00:00
2019-06-25 01:04:50 +00:00
iget-object p1 , v1 , L io/fabric/sdk/android/c$a ;-> bah : L java/lang/String ;
2019-02-04 20:08:30 +00:00
invoke-interface { v5 } , L java/util/Map ;-> values ( ) L java/util/Collection ;
move-result-object v2
2019-05-03 18:53:54 +00:00
invoke-direct { v11 , v4 , p0 , p1 , v2 } , L io/fabric/sdk/android/a/b/s ;-> <init> ( L android/content/Context ;L java/lang/String ;L java/lang/String ;L java/util/Collection ;) V
2019-02-04 20:08:30 +00:00
new-instance p0 , L io/fabric/sdk/android/c ;
2019-06-25 01:04:50 +00:00
iget-object v6 , v1 , L io/fabric/sdk/android/c$a ;-> bag : L io/fabric/sdk/android/a/c/k ;
2019-02-04 20:08:30 +00:00
iget-object v7 , v1 , L io/fabric/sdk/android/c$a ;-> handler : L android/os/Handler ;
2019-06-25 01:04:50 +00:00
iget-object v8 , v1 , L io/fabric/sdk/android/c$a ;-> baa : L io/fabric/sdk/android/l ;
2019-02-04 20:08:30 +00:00
2019-06-25 01:04:50 +00:00
iget-boolean v9 , v1 , L io/fabric/sdk/android/c$a ;-> bab : Z
2019-02-04 20:08:30 +00:00
2019-06-25 01:04:50 +00:00
iget-object v10 , v1 , L io/fabric/sdk/android/c$a ;-> aZV : L io/fabric/sdk/android/f ;
2019-02-04 20:08:30 +00:00
iget-object p1 , v1 , L io/fabric/sdk/android/c$a ;-> context : L android/content/Context ;
instance-of v1 , p1 , L android/app/Activity ;
2019-05-03 18:53:54 +00:00
if-eqz v1 , :cond_e
2019-02-04 20:08:30 +00:00
check-cast p1 , L android/app/Activity ;
2019-05-03 18:53:54 +00:00
goto :goto_5
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
:cond_e
2019-02-04 20:08:30 +00:00
const/4 p1 , 0x0
2019-05-03 18:53:54 +00:00
:goto_5
2019-02-04 20:08:30 +00:00
move-object v12 , p1
move-object v3 , p0
2019-05-03 18:53:54 +00:00
invoke-direct/range { v3 . . v12 } , L io/fabric/sdk/android/c ;-> <init> ( L android/content/Context ;L java/util/Map ;L io/fabric/sdk/android/a/c/k ;L android/os/Handler ;L io/fabric/sdk/android/l ;Z L io/fabric/sdk/android/f ;L io/fabric/sdk/android/a/b/s ;L android/app/Activity ;) V
2019-02-04 20:08:30 +00:00
2019-06-25 01:04:50 +00:00
sput-object p0 , L io/fabric/sdk/android/c ;-> aZR : L io/fabric/sdk/android/c ;
2019-02-04 20:08:30 +00:00
new-instance p1 , L io/fabric/sdk/android/a ;
iget-object v1 , p0 , L io/fabric/sdk/android/c ;-> context : L android/content/Context ;
invoke-direct { p1 , v1 } , L io/fabric/sdk/android/a ;-> <init> ( L android/content/Context ;) V
2019-06-25 01:04:50 +00:00
iput-object p1 , p0 , L io/fabric/sdk/android/c ;-> aZX : L io/fabric/sdk/android/a ;
2019-02-04 20:08:30 +00:00
2019-06-25 01:04:50 +00:00
iget-object p1 , p0 , L io/fabric/sdk/android/c ;-> aZX : L io/fabric/sdk/android/a ;
2019-02-04 20:08:30 +00:00
new-instance v1 , L io/fabric/sdk/android/c$1 ;
invoke-direct { v1 , p0 } , L io/fabric/sdk/android/c$1 ;-> <init> ( L io/fabric/sdk/android/c ;) V
invoke-virtual { p1 , v1 } , L io/fabric/sdk/android/a ;-> a ( L io/fabric/sdk/android/a$b ;) Z
iget-object p1 , p0 , L io/fabric/sdk/android/c ;-> context : L android/content/Context ;
2019-05-04 02:59:52 +00:00
invoke-direct { p0 , p1 } , L io/fabric/sdk/android/c ;-> aG ( L android/content/Context ;) V
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
goto :goto_6
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
:cond_f
2019-02-04 20:08:30 +00:00
new-instance p0 , L java/lang/IllegalStateException ;
const-string p1 , "Kits already set."
invoke-direct { p0 , p1 } , L java/lang/IllegalStateException ;-> <init> ( L java/lang/String ;) V
throw p0
2019-05-03 18:53:54 +00:00
:cond_10
:goto_6
2019-02-04 20:08:30 +00:00
monitor-exit v0
2019-05-03 18:53:54 +00:00
goto :goto_7
2019-02-04 20:08:30 +00:00
:catchall_0
move-exception p0
monitor-exit v0
:try_end_0
.catchall { :try_start_0 . . :try_end_0 } :catchall_0
throw p0
2019-05-03 18:53:54 +00:00
:cond_11
:goto_7
2019-06-25 01:04:50 +00:00
sget-object p0 , L io/fabric/sdk/android/c ;-> aZR : L io/fabric/sdk/android/c ;
2019-02-04 20:08:30 +00:00
return-object p0
.end method
.method static synthetic a ( L io/fabric/sdk/android/c ;) L java/util/concurrent/atomic/AtomicBoolean ;
.locals 0
2019-06-25 01:04:50 +00:00
iget-object p0 , p0 , L io/fabric/sdk/android/c ;-> aZZ : L java/util/concurrent/atomic/AtomicBoolean ;
2019-02-04 20:08:30 +00:00
return-object p0
.end method
.method private static a ( L java/util/Map ;L io/fabric/sdk/android/i ;) V
.locals 7
.annotation system L dalvik/annotation/Signature ;
value = {
"(" ,
"Ljava/util/Map<" ,
"Ljava/lang/Class<" ,
"+" ,
"Lio/fabric/sdk/android/i;" ,
">;" ,
"Lio/fabric/sdk/android/i;" ,
">;" ,
"Lio/fabric/sdk/android/i;" ,
")V"
}
.end annotation
2019-06-25 01:04:50 +00:00
iget-object v0 , p1 , L io/fabric/sdk/android/i ;-> bap : L io/fabric/sdk/android/a/c/d ;
2019-02-04 20:08:30 +00:00
if-eqz v0 , :cond_4
invoke-interface { v0 } , L io/fabric/sdk/android/a/c/d ;-> value ( ) [ L java/lang/Class ;
move-result-object v0
array-length v1 , v0
const/4 v2 , 0x0
:goto_0
if-ge v2 , v1 , :cond_4
aget-object v3 , v0 , v2
invoke-virtual { v3 } , L java/lang/Class ;-> isInterface ( ) Z
move-result v4
if-eqz v4 , :cond_1
invoke-interface { p0 } , L java/util/Map ;-> values ( ) L java/util/Collection ;
move-result-object v4
invoke-interface { v4 } , L java/util/Collection ;-> iterator ( ) L java/util/Iterator ;
move-result-object v4
:cond_0
:goto_1
invoke-interface { v4 } , L java/util/Iterator ;-> hasNext ( ) Z
move-result v5
if-eqz v5 , :cond_2
invoke-interface { v4 } , L java/util/Iterator ;-> next ( ) L java/lang/Object ;
move-result-object v5
check-cast v5 , L io/fabric/sdk/android/i ;
invoke-virtual { v5 } , L java/lang/Object ;-> getClass ( ) L java/lang/Class ;
move-result-object v6
invoke-virtual { v3 , v6 } , L java/lang/Class ;-> isAssignableFrom ( L java/lang/Class ;) Z
move-result v6
if-eqz v6 , :cond_0
2019-06-25 01:04:50 +00:00
iget-object v6 , p1 , L io/fabric/sdk/android/i ;-> bao : L io/fabric/sdk/android/h ;
2019-02-04 20:08:30 +00:00
2019-06-25 01:04:50 +00:00
iget-object v5 , v5 , L io/fabric/sdk/android/i ;-> bao : L io/fabric/sdk/android/h ;
2019-02-04 20:08:30 +00:00
invoke-virtual { v6 , v5 } , L io/fabric/sdk/android/h ;-> a ( L io/fabric/sdk/android/a/c/l ;) V
goto :goto_1
:cond_1
invoke-interface { p0 , v3 } , L java/util/Map ;-> get ( L java/lang/Object ;) L java/lang/Object ;
move-result-object v4
check-cast v4 , L io/fabric/sdk/android/i ;
if-eqz v4 , :cond_3
2019-06-25 01:04:50 +00:00
iget-object v4 , p1 , L io/fabric/sdk/android/i ;-> bao : L io/fabric/sdk/android/h ;
2019-02-04 20:08:30 +00:00
invoke-interface { p0 , v3 } , L java/util/Map ;-> get ( L java/lang/Object ;) L java/lang/Object ;
move-result-object v3
check-cast v3 , L io/fabric/sdk/android/i ;
2019-06-25 01:04:50 +00:00
iget-object v3 , v3 , L io/fabric/sdk/android/i ;-> bao : L io/fabric/sdk/android/h ;
2019-02-04 20:08:30 +00:00
invoke-virtual { v4 , v3 } , L io/fabric/sdk/android/h ;-> a ( L io/fabric/sdk/android/a/c/l ;) V
:cond_2
add-int/lit8 v2 , v2 , 0x1
goto :goto_0
:cond_3
new-instance p0 , L io/fabric/sdk/android/a/c/m ;
const-string p1 , "Referenced Kit was null, does the kit exist?"
invoke-direct { p0 , p1 } , L io/fabric/sdk/android/a/c/m ;-> <init> ( L java/lang/String ;) V
throw p0
:cond_4
return-void
.end method
.method private static a ( L java/util/Map ;L java/util/Collection ;) V
.locals 2
.annotation system L dalvik/annotation/Signature ;
value = {
"(" ,
"Ljava/util/Map<" ,
"Ljava/lang/Class<" ,
"+" ,
"Lio/fabric/sdk/android/i;" ,
">;" ,
"Lio/fabric/sdk/android/i;" ,
">;" ,
"Ljava/util/Collection<" ,
"+" ,
"Lio/fabric/sdk/android/i;" ,
">;)V"
}
.end annotation
invoke-interface { p1 } , L java/util/Collection ;-> iterator ( ) L java/util/Iterator ;
move-result-object p1
:cond_0
:goto_0
invoke-interface { p1 } , L java/util/Iterator ;-> hasNext ( ) Z
move-result v0
if-eqz v0 , :cond_1
invoke-interface { p1 } , L java/util/Iterator ;-> next ( ) L java/lang/Object ;
move-result-object v0
check-cast v0 , L io/fabric/sdk/android/i ;
invoke-virtual { v0 } , L java/lang/Object ;-> getClass ( ) L java/lang/Class ;
move-result-object v1
invoke-interface { p0 , v1 , v0 } , L java/util/Map ;-> put ( L java/lang/Object ;L java/lang/Object ;) L java/lang/Object ;
instance-of v1 , v0 , L io/fabric/sdk/android/j ;
if-eqz v1 , :cond_0
check-cast v0 , L io/fabric/sdk/android/j ;
invoke-interface { v0 } , L io/fabric/sdk/android/j ;-> bJ ( ) L java/util/Collection ;
move-result-object v0
invoke-static { p0 , v0 } , L io/fabric/sdk/android/c ;-> a ( L java/util/Map ;L java/util/Collection ;) V
goto :goto_0
:cond_1
return-void
.end method
2019-05-04 02:59:52 +00:00
.method private aG ( L android/content/Context ;) V
2019-02-04 20:08:30 +00:00
.locals 6
new-instance v0 , L io/fabric/sdk/android/e ;
invoke-virtual { p1 } , L android/content/Context ;-> getPackageCodePath ( ) L java/lang/String ;
move-result-object v1
invoke-direct { v0 , v1 } , L io/fabric/sdk/android/e ;-> <init> ( L java/lang/String ;) V
iget-object v1 , p0 , L io/fabric/sdk/android/c ;-> executorService : L java/util/concurrent/ExecutorService ;
invoke-interface { v1 , v0 } , L java/util/concurrent/ExecutorService ;-> submit ( L java/util/concurrent/Callable ;) L java/util/concurrent/Future ;
move-result-object v0
2019-06-25 01:04:50 +00:00
iget-object v1 , p0 , L io/fabric/sdk/android/c ;-> aZT : L java/util/Map ;
2019-02-04 20:08:30 +00:00
invoke-interface { v1 } , L java/util/Map ;-> values ( ) L java/util/Collection ;
move-result-object v1
new-instance v2 , L io/fabric/sdk/android/m ;
invoke-direct { v2 , v0 , v1 } , L io/fabric/sdk/android/m ;-> <init> ( L java/util/concurrent/Future ;L java/util/Collection ;) V
new-instance v0 , L java/util/ArrayList ;
invoke-direct { v0 , v1 } , L java/util/ArrayList ;-> <init> ( L java/util/Collection ;) V
invoke-static { v0 } , L java/util/Collections ;-> sort ( L java/util/List ;) V
2019-06-25 01:04:50 +00:00
sget-object v1 , L io/fabric/sdk/android/f ;-> bam : L io/fabric/sdk/android/f ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iget-object v3 , p0 , L io/fabric/sdk/android/c ;-> oP : L io/fabric/sdk/android/a/b/s ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-virtual { v2 , p1 , p0 , v1 , v3 } , L io/fabric/sdk/android/m ;-> a ( L android/content/Context ;L io/fabric/sdk/android/c ;L io/fabric/sdk/android/f ;L io/fabric/sdk/android/a/b/s ;) V
2019-02-04 20:08:30 +00:00
invoke-interface { v0 } , L java/util/List ;-> iterator ( ) L java/util/Iterator ;
move-result-object v1
:goto_0
invoke-interface { v1 } , L java/util/Iterator ;-> hasNext ( ) Z
move-result v3
if-eqz v3 , :cond_0
invoke-interface { v1 } , L java/util/Iterator ;-> next ( ) L java/lang/Object ;
move-result-object v3
check-cast v3 , L io/fabric/sdk/android/i ;
2019-06-25 01:04:50 +00:00
iget-object v4 , p0 , L io/fabric/sdk/android/c ;-> aZW : L io/fabric/sdk/android/f ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iget-object v5 , p0 , L io/fabric/sdk/android/c ;-> oP : L io/fabric/sdk/android/a/b/s ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-virtual { v3 , p1 , p0 , v4 , v5 } , L io/fabric/sdk/android/i ;-> a ( L android/content/Context ;L io/fabric/sdk/android/c ;L io/fabric/sdk/android/f ;L io/fabric/sdk/android/a/b/s ;) V
2019-02-04 20:08:30 +00:00
goto :goto_0
:cond_0
2019-06-25 01:04:50 +00:00
invoke-virtual { v2 } , L io/fabric/sdk/android/m ;-> yn ( ) V
2019-02-04 20:08:30 +00:00
2019-06-25 01:04:50 +00:00
invoke-static { } , L io/fabric/sdk/android/c ;-> yf ( ) L io/fabric/sdk/android/l ;
2019-02-04 20:08:30 +00:00
move-result-object p1
2019-05-03 18:53:54 +00:00
const/4 v1 , 0x3
2019-02-04 20:32:01 +00:00
2019-05-03 18:53:54 +00:00
const-string v3 , "Fabric"
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-interface { p1 , v3 , v1 } , L io/fabric/sdk/android/l ;-> isLoggable ( L java/lang/String ;I ) Z
2019-02-04 20:08:30 +00:00
move-result p1
if-eqz p1 , :cond_1
new-instance p1 , L java/lang/StringBuilder ;
2019-05-03 18:53:54 +00:00
const-string v1 , "Initializing io.fabric.sdk.android:fabric [Version: 1.4.8.32"
2019-02-04 20:08:30 +00:00
invoke-direct { p1 , v1 } , L java/lang/StringBuilder ;-> <init> ( L java/lang/String ;) V
const-string v1 , "], with the following kits:\n"
invoke-virtual { p1 , v1 } , L java/lang/StringBuilder ;-> append ( L java/lang/String ;) L java/lang/StringBuilder ;
goto :goto_1
:cond_1
const/4 p1 , 0x0
:goto_1
invoke-interface { v0 } , L java/util/List ;-> iterator ( ) L java/util/Iterator ;
move-result-object v0
:cond_2
:goto_2
invoke-interface { v0 } , L java/util/Iterator ;-> hasNext ( ) Z
move-result v1
if-eqz v1 , :cond_3
invoke-interface { v0 } , L java/util/Iterator ;-> next ( ) L java/lang/Object ;
move-result-object v1
check-cast v1 , L io/fabric/sdk/android/i ;
2019-06-25 01:04:50 +00:00
iget-object v4 , v1 , L io/fabric/sdk/android/i ;-> bao : L io/fabric/sdk/android/h ;
2019-02-04 20:08:30 +00:00
2019-06-25 01:04:50 +00:00
iget-object v5 , v2 , L io/fabric/sdk/android/m ;-> bao : L io/fabric/sdk/android/h ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-virtual { v4 , v5 } , L io/fabric/sdk/android/h ;-> a ( L io/fabric/sdk/android/a/c/l ;) V
2019-02-04 20:08:30 +00:00
2019-06-25 01:04:50 +00:00
iget-object v4 , p0 , L io/fabric/sdk/android/c ;-> aZT : L java/util/Map ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-static { v4 , v1 } , L io/fabric/sdk/android/c ;-> a ( L java/util/Map ;L io/fabric/sdk/android/i ;) V
2019-02-04 20:08:30 +00:00
2019-06-25 01:04:50 +00:00
invoke-virtual { v1 } , L io/fabric/sdk/android/i ;-> yn ( ) V
2019-02-04 20:08:30 +00:00
if-eqz p1 , :cond_2
invoke-virtual { v1 } , L io/fabric/sdk/android/i ;-> getIdentifier ( ) L java/lang/String ;
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
invoke-virtual { p1 , v4 } , L java/lang/StringBuilder ;-> append ( L java/lang/String ;) L java/lang/StringBuilder ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-string v4 , " [Version: "
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-virtual { p1 , v4 } , L java/lang/StringBuilder ;-> append ( L java/lang/String ;) L java/lang/StringBuilder ;
2019-02-04 20:08:30 +00:00
invoke-virtual { v1 } , L io/fabric/sdk/android/i ;-> getVersion ( ) L java/lang/String ;
move-result-object v1
invoke-virtual { p1 , v1 } , L java/lang/StringBuilder ;-> append ( L java/lang/String ;) L java/lang/StringBuilder ;
const-string v1 , "]\n"
invoke-virtual { p1 , v1 } , L java/lang/StringBuilder ;-> append ( L java/lang/String ;) L java/lang/StringBuilder ;
goto :goto_2
:cond_3
if-eqz p1 , :cond_4
2019-06-25 01:04:50 +00:00
invoke-static { } , L io/fabric/sdk/android/c ;-> yf ( ) L io/fabric/sdk/android/l ;
2019-02-04 20:08:30 +00:00
move-result-object v0
invoke-virtual { p1 } , L java/lang/StringBuilder ;-> toString ( ) L java/lang/String ;
move-result-object p1
2019-05-03 18:53:54 +00:00
invoke-interface { v0 , v3 , p1 } , L io/fabric/sdk/android/l ;-> d ( L java/lang/String ;L java/lang/String ;) V
2019-02-04 20:08:30 +00:00
:cond_4
return-void
.end method
2019-02-04 20:32:01 +00:00
.method static synthetic b ( L io/fabric/sdk/android/c ;) L io/fabric/sdk/android/f ;
.locals 0
2019-06-25 01:04:50 +00:00
iget-object p0 , p0 , L io/fabric/sdk/android/c ;-> aZV : L io/fabric/sdk/android/f ;
2019-02-04 20:32:01 +00:00
return-object p0
.end method
2019-06-25 01:04:50 +00:00
.method public static yf ( ) L io/fabric/sdk/android/l ;
2019-02-04 20:08:30 +00:00
.locals 1
2019-06-25 01:04:50 +00:00
sget-object v0 , L io/fabric/sdk/android/c ;-> aZR : L io/fabric/sdk/android/c ;
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
if-nez v0 , :cond_0
2019-02-04 20:08:30 +00:00
2019-06-25 01:04:50 +00:00
sget-object v0 , L io/fabric/sdk/android/c ;-> aZS : L io/fabric/sdk/android/l ;
2019-02-04 20:08:30 +00:00
2019-03-22 22:04:12 +00:00
return-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
:cond_0
2019-06-25 01:04:50 +00:00
sget-object v0 , L io/fabric/sdk/android/c ;-> aZR : L io/fabric/sdk/android/c ;
2019-02-04 20:08:30 +00:00
2019-06-25 01:04:50 +00:00
iget-object v0 , v0 , L io/fabric/sdk/android/c ;-> baa : L io/fabric/sdk/android/l ;
2019-02-04 20:08:30 +00:00
2019-03-22 22:04:12 +00:00
return-object v0
2019-02-04 20:32:01 +00:00
.end method
2019-02-04 20:08:30 +00:00
2019-06-25 01:04:50 +00:00
.method public static yg ( ) Z
2019-02-04 20:32:01 +00:00
.locals 1
2019-02-04 20:08:30 +00:00
2019-06-25 01:04:50 +00:00
sget-object v0 , L io/fabric/sdk/android/c ;-> aZR : L io/fabric/sdk/android/c ;
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
if-nez v0 , :cond_0
2019-02-04 20:08:30 +00:00
2019-03-22 22:04:12 +00:00
const/4 v0 , 0x0
2019-02-04 20:08:30 +00:00
2019-03-22 22:04:12 +00:00
return v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
:cond_0
2019-06-25 01:04:50 +00:00
sget-object v0 , L io/fabric/sdk/android/c ;-> aZR : L io/fabric/sdk/android/c ;
2019-02-04 20:08:30 +00:00
2019-06-25 01:04:50 +00:00
iget-boolean v0 , v0 , L io/fabric/sdk/android/c ;-> bab : Z
2019-02-04 20:08:30 +00:00
2019-03-22 22:04:12 +00:00
return v0
2019-02-04 20:08:30 +00:00
.end method
# virtual methods
2019-05-03 18:53:54 +00:00
.method public final h ( L android/app/Activity ;) L io/fabric/sdk/android/c ;
2019-02-04 20:08:30 +00:00
.locals 1
new-instance v0 , L java/lang/ref/WeakReference ;
invoke-direct { v0 , p1 } , L java/lang/ref/WeakReference ;-> <init> ( L java/lang/Object ;) V
2019-06-25 01:04:50 +00:00
iput-object v0 , p0 , L io/fabric/sdk/android/c ;-> aZY : L java/lang/ref/WeakReference ;
2019-02-04 20:08:30 +00:00
return-object p0
.end method