763 lines
20 KiB
Smali
763 lines
20 KiB
Smali
.class public final Lio/fabric/sdk/android/a/b/p;
|
|
.super Ljava/lang/Object;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lio/fabric/sdk/android/a/b/p$a;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field private static final bLD:Ljava/util/regex/Pattern;
|
|
|
|
.field private static final bLE:Ljava/lang/String;
|
|
|
|
|
|
# instance fields
|
|
.field public final bKA:Ljava/lang/String;
|
|
|
|
.field private final bKz:Ljava/lang/String;
|
|
|
|
.field private final bLF:Ljava/util/concurrent/locks/ReentrantLock;
|
|
|
|
.field private final bLG:Lio/fabric/sdk/android/a/b/q;
|
|
|
|
.field public final bLH:Z
|
|
|
|
.field public final bLI:Z
|
|
|
|
.field bLJ:Lio/fabric/sdk/android/a/b/c;
|
|
|
|
.field bLK:Lio/fabric/sdk/android/a/b/b;
|
|
|
|
.field bLL:Z
|
|
|
|
.field bLM:Lio/fabric/sdk/android/a/b/o;
|
|
|
|
.field public final mp:Landroid/content/Context;
|
|
|
|
.field private final nv:Ljava/util/Collection;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/Collection<",
|
|
"Lio/fabric/sdk/android/i;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
const-string v0, "[^\\p{Alnum}]"
|
|
|
|
invoke-static {v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lio/fabric/sdk/android/a/b/p;->bLD:Ljava/util/regex/Pattern;
|
|
|
|
const-string v0, "/"
|
|
|
|
invoke-static {v0}, Ljava/util/regex/Pattern;->quote(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lio/fabric/sdk/android/a/b/p;->bLE:Ljava/lang/String;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/util/Collection;)V
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroid/content/Context;",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/String;",
|
|
"Ljava/util/Collection<",
|
|
"Lio/fabric/sdk/android/i;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
new-instance v0, Ljava/util/concurrent/locks/ReentrantLock;
|
|
|
|
invoke-direct {v0}, Ljava/util/concurrent/locks/ReentrantLock;-><init>()V
|
|
|
|
iput-object v0, p0, Lio/fabric/sdk/android/a/b/p;->bLF:Ljava/util/concurrent/locks/ReentrantLock;
|
|
|
|
if-eqz p1, :cond_4
|
|
|
|
if-eqz p2, :cond_3
|
|
|
|
if-eqz p4, :cond_2
|
|
|
|
iput-object p1, p0, Lio/fabric/sdk/android/a/b/p;->mp:Landroid/content/Context;
|
|
|
|
iput-object p2, p0, Lio/fabric/sdk/android/a/b/p;->bKA:Ljava/lang/String;
|
|
|
|
iput-object p3, p0, Lio/fabric/sdk/android/a/b/p;->bKz:Ljava/lang/String;
|
|
|
|
iput-object p4, p0, Lio/fabric/sdk/android/a/b/p;->nv:Ljava/util/Collection;
|
|
|
|
new-instance p2, Lio/fabric/sdk/android/a/b/q;
|
|
|
|
invoke-direct {p2}, Lio/fabric/sdk/android/a/b/q;-><init>()V
|
|
|
|
iput-object p2, p0, Lio/fabric/sdk/android/a/b/p;->bLG:Lio/fabric/sdk/android/a/b/q;
|
|
|
|
new-instance p2, Lio/fabric/sdk/android/a/b/c;
|
|
|
|
invoke-direct {p2, p1}, Lio/fabric/sdk/android/a/b/c;-><init>(Landroid/content/Context;)V
|
|
|
|
iput-object p2, p0, Lio/fabric/sdk/android/a/b/p;->bLJ:Lio/fabric/sdk/android/a/b/c;
|
|
|
|
new-instance p2, Lio/fabric/sdk/android/a/b/o;
|
|
|
|
invoke-direct {p2}, Lio/fabric/sdk/android/a/b/o;-><init>()V
|
|
|
|
iput-object p2, p0, Lio/fabric/sdk/android/a/b/p;->bLM:Lio/fabric/sdk/android/a/b/o;
|
|
|
|
const-string p2, "com.crashlytics.CollectDeviceIdentifiers"
|
|
|
|
const/4 p3, 0x1
|
|
|
|
invoke-static {p1, p2, p3}, Lio/fabric/sdk/android/a/b/i;->e(Landroid/content/Context;Ljava/lang/String;Z)Z
|
|
|
|
move-result p2
|
|
|
|
iput-boolean p2, p0, Lio/fabric/sdk/android/a/b/p;->bLH:Z
|
|
|
|
iget-boolean p2, p0, Lio/fabric/sdk/android/a/b/p;->bLH:Z
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
invoke-static {}, Lio/fabric/sdk/android/c;->DH()Lio/fabric/sdk/android/l;
|
|
|
|
move-result-object p2
|
|
|
|
const-string p4, "Fabric"
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, "Device ID collection disabled for "
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p1}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {p2, p4, v0}, Lio/fabric/sdk/android/l;->d(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
:cond_0
|
|
const-string p2, "com.crashlytics.CollectUserIdentifiers"
|
|
|
|
invoke-static {p1, p2, p3}, Lio/fabric/sdk/android/a/b/i;->e(Landroid/content/Context;Ljava/lang/String;Z)Z
|
|
|
|
move-result p2
|
|
|
|
iput-boolean p2, p0, Lio/fabric/sdk/android/a/b/p;->bLI:Z
|
|
|
|
iget-boolean p2, p0, Lio/fabric/sdk/android/a/b/p;->bLI:Z
|
|
|
|
if-nez p2, :cond_1
|
|
|
|
invoke-static {}, Lio/fabric/sdk/android/c;->DH()Lio/fabric/sdk/android/l;
|
|
|
|
move-result-object p2
|
|
|
|
const-string p3, "Fabric"
|
|
|
|
new-instance p4, Ljava/lang/StringBuilder;
|
|
|
|
const-string v0, "User information collection disabled for "
|
|
|
|
invoke-direct {p4, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p1}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p4, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {p2, p3, p1}, Lio/fabric/sdk/android/l;->d(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
:cond_1
|
|
return-void
|
|
|
|
:cond_2
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p2, "kits must not be null"
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:cond_3
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p2, "appIdentifier must not be null"
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:cond_4
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p2, "appContext must not be null"
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public static Ed()Ljava/lang/String;
|
|
.locals 5
|
|
|
|
sget-object v0, Ljava/util/Locale;->US:Ljava/util/Locale;
|
|
|
|
const-string v1, "%s/%s"
|
|
|
|
const/4 v2, 0x2
|
|
|
|
new-array v2, v2, [Ljava/lang/Object;
|
|
|
|
sget-object v3, Landroid/os/Build;->MANUFACTURER:Ljava/lang/String;
|
|
|
|
invoke-static {v3}, Lio/fabric/sdk/android/a/b/p;->dP(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
const/4 v4, 0x0
|
|
|
|
aput-object v3, v2, v4
|
|
|
|
sget-object v3, Landroid/os/Build;->MODEL:Ljava/lang/String;
|
|
|
|
invoke-static {v3}, Lio/fabric/sdk/android/a/b/p;->dP(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
const/4 v4, 0x1
|
|
|
|
aput-object v3, v2, v4
|
|
|
|
invoke-static {v0, v1, v2}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private static a(Ljava/util/Map;Lio/fabric/sdk/android/a/b/p$a;Ljava/lang/String;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/Map<",
|
|
"Lio/fabric/sdk/android/a/b/p$a;",
|
|
"Ljava/lang/String;",
|
|
">;",
|
|
"Lio/fabric/sdk/android/a/b/p$a;",
|
|
"Ljava/lang/String;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
invoke-interface {p0, p1, p2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method private c(Landroid/content/SharedPreferences;Ljava/lang/String;)V
|
|
.locals 2
|
|
.annotation build Landroid/annotation/SuppressLint;
|
|
value = {
|
|
"CommitPrefEdits"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lio/fabric/sdk/android/a/b/p;->bLF:Ljava/util/concurrent/locks/ReentrantLock;
|
|
|
|
invoke-virtual {v0}, Ljava/util/concurrent/locks/ReentrantLock;->lock()V
|
|
|
|
:try_start_0
|
|
invoke-static {p2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
:cond_0
|
|
:goto_0
|
|
iget-object p1, p0, Lio/fabric/sdk/android/a/b/p;->bLF:Ljava/util/concurrent/locks/ReentrantLock;
|
|
|
|
invoke-virtual {p1}, Ljava/util/concurrent/locks/ReentrantLock;->unlock()V
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
:try_start_1
|
|
const-string v0, "crashlytics.advertising.id"
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-interface {p1, v0, v1}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
invoke-interface {p1}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "crashlytics.advertising.id"
|
|
|
|
invoke-interface {p1, v0, p2}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object p1
|
|
|
|
:goto_1
|
|
invoke-interface {p1}, Landroid/content/SharedPreferences$Editor;->commit()Z
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
invoke-virtual {v0, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
invoke-interface {p1}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "crashlytics.installation.id"
|
|
|
|
invoke-interface {p1, v0}, Landroid/content/SharedPreferences$Editor;->remove(Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "crashlytics.advertising.id"
|
|
|
|
invoke-interface {p1, v0, p2}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object p1
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
goto :goto_1
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
iget-object p2, p0, Lio/fabric/sdk/android/a/b/p;->bLF:Ljava/util/concurrent/locks/ReentrantLock;
|
|
|
|
invoke-virtual {p2}, Ljava/util/concurrent/locks/ReentrantLock;->unlock()V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method private d(Landroid/content/SharedPreferences;)Ljava/lang/String;
|
|
.locals 2
|
|
.annotation build Landroid/annotation/SuppressLint;
|
|
value = {
|
|
"CommitPrefEdits"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lio/fabric/sdk/android/a/b/p;->bLF:Ljava/util/concurrent/locks/ReentrantLock;
|
|
|
|
invoke-virtual {v0}, Ljava/util/concurrent/locks/ReentrantLock;->lock()V
|
|
|
|
:try_start_0
|
|
const-string v0, "crashlytics.installation.id"
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-interface {p1, v0, v1}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
invoke-static {}, Ljava/util/UUID;->randomUUID()Ljava/util/UUID;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Ljava/util/UUID;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
:goto_0
|
|
move-object v0, v1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
sget-object v1, Lio/fabric/sdk/android/a/b/p;->bLD:Ljava/util/regex/Pattern;
|
|
|
|
invoke-virtual {v1, v0}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, ""
|
|
|
|
invoke-virtual {v0, v1}, Ljava/util/regex/Matcher;->replaceAll(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
sget-object v1, Ljava/util/Locale;->US:Ljava/util/Locale;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->toLowerCase(Ljava/util/Locale;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
goto :goto_0
|
|
|
|
:goto_1
|
|
invoke-interface {p1}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v1, "crashlytics.installation.id"
|
|
|
|
invoke-interface {p1, v1, v0}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {p1}, Landroid/content/SharedPreferences$Editor;->commit()Z
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
:cond_1
|
|
iget-object p1, p0, Lio/fabric/sdk/android/a/b/p;->bLF:Ljava/util/concurrent/locks/ReentrantLock;
|
|
|
|
invoke-virtual {p1}, Ljava/util/concurrent/locks/ReentrantLock;->unlock()V
|
|
|
|
return-object v0
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
iget-object v0, p0, Lio/fabric/sdk/android/a/b/p;->bLF:Ljava/util/concurrent/locks/ReentrantLock;
|
|
|
|
invoke-virtual {v0}, Ljava/util/concurrent/locks/ReentrantLock;->unlock()V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public static dP(Ljava/lang/String;)Ljava/lang/String;
|
|
.locals 2
|
|
|
|
sget-object v0, Lio/fabric/sdk/android/a/b/p;->bLE:Ljava/lang/String;
|
|
|
|
const-string v1, ""
|
|
|
|
invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private e(Landroid/content/SharedPreferences;)V
|
|
.locals 1
|
|
|
|
invoke-virtual {p0}, Lio/fabric/sdk/android/a/b/p;->DW()Lio/fabric/sdk/android/a/b/b;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, v0, Lio/fabric/sdk/android/a/b/b;->bKT:Ljava/lang/String;
|
|
|
|
invoke-direct {p0, p1, v0}, Lio/fabric/sdk/android/a/b/p;->c(Landroid/content/SharedPreferences;Ljava/lang/String;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public declared-synchronized DW()Lio/fabric/sdk/android/a/b/b;
|
|
.locals 5
|
|
|
|
monitor-enter p0
|
|
|
|
:try_start_0
|
|
iget-boolean v0, p0, Lio/fabric/sdk/android/a/b/p;->bLL:Z
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
iget-object v0, p0, Lio/fabric/sdk/android/a/b/p;->bLJ:Lio/fabric/sdk/android/a/b/c;
|
|
|
|
iget-object v1, v0, Lio/fabric/sdk/android/a/b/c;->pq:Lio/fabric/sdk/android/a/f/c;
|
|
|
|
invoke-interface {v1}, Lio/fabric/sdk/android/a/f/c;->EP()Landroid/content/SharedPreferences;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "advertising_id"
|
|
|
|
const-string v3, ""
|
|
|
|
invoke-interface {v1, v2, v3}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
iget-object v2, v0, Lio/fabric/sdk/android/a/b/c;->pq:Lio/fabric/sdk/android/a/f/c;
|
|
|
|
invoke-interface {v2}, Lio/fabric/sdk/android/a/f/c;->EP()Landroid/content/SharedPreferences;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v3, "limit_ad_tracking_enabled"
|
|
|
|
const/4 v4, 0x0
|
|
|
|
invoke-interface {v2, v3, v4}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z
|
|
|
|
move-result v2
|
|
|
|
new-instance v3, Lio/fabric/sdk/android/a/b/b;
|
|
|
|
invoke-direct {v3, v1, v2}, Lio/fabric/sdk/android/a/b/b;-><init>(Ljava/lang/String;Z)V
|
|
|
|
invoke-static {v3}, Lio/fabric/sdk/android/a/b/c;->b(Lio/fabric/sdk/android/a/b/b;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
invoke-static {}, Lio/fabric/sdk/android/c;->DH()Lio/fabric/sdk/android/l;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "Fabric"
|
|
|
|
const-string v4, "Using AdvertisingInfo from Preference Store"
|
|
|
|
invoke-interface {v1, v2, v4}, Lio/fabric/sdk/android/l;->d(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
new-instance v1, Ljava/lang/Thread;
|
|
|
|
new-instance v2, Lio/fabric/sdk/android/a/b/c$1;
|
|
|
|
invoke-direct {v2, v0, v3}, Lio/fabric/sdk/android/a/b/c$1;-><init>(Lio/fabric/sdk/android/a/b/c;Lio/fabric/sdk/android/a/b/b;)V
|
|
|
|
invoke-direct {v1, v2}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Thread;->start()V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
invoke-virtual {v0}, Lio/fabric/sdk/android/a/b/c;->DV()Lio/fabric/sdk/android/a/b/b;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v0, v3}, Lio/fabric/sdk/android/a/b/c;->a(Lio/fabric/sdk/android/a/b/b;)V
|
|
|
|
:goto_0
|
|
iput-object v3, p0, Lio/fabric/sdk/android/a/b/p;->bLK:Lio/fabric/sdk/android/a/b/b;
|
|
|
|
const/4 v0, 0x1
|
|
|
|
iput-boolean v0, p0, Lio/fabric/sdk/android/a/b/p;->bLL:Z
|
|
|
|
:cond_1
|
|
iget-object v0, p0, Lio/fabric/sdk/android/a/b/p;->bLK:Lio/fabric/sdk/android/a/b/b;
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
monitor-exit p0
|
|
|
|
return-object v0
|
|
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
monitor-exit p0
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final Ec()Ljava/lang/String;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lio/fabric/sdk/android/a/b/p;->bKz:Ljava/lang/String;
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
iget-object v0, p0, Lio/fabric/sdk/android/a/b/p;->mp:Landroid/content/Context;
|
|
|
|
invoke-static {v0}, Lio/fabric/sdk/android/a/b/i;->aH(Landroid/content/Context;)Landroid/content/SharedPreferences;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {p0, v0}, Lio/fabric/sdk/android/a/b/p;->e(Landroid/content/SharedPreferences;)V
|
|
|
|
const-string v1, "crashlytics.installation.id"
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
invoke-direct {p0, v0}, Lio/fabric/sdk/android/a/b/p;->d(Landroid/content/SharedPreferences;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-object v0, v1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final cb()Ljava/util/Map;
|
|
.locals 5
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/Map<",
|
|
"Lio/fabric/sdk/android/a/b/p$a;",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
new-instance v0, Ljava/util/HashMap;
|
|
|
|
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
|
|
|
|
iget-object v1, p0, Lio/fabric/sdk/android/a/b/p;->nv:Ljava/util/Collection;
|
|
|
|
invoke-interface {v1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v1
|
|
|
|
:cond_0
|
|
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Lio/fabric/sdk/android/i;
|
|
|
|
instance-of v3, v2, Lio/fabric/sdk/android/a/b/m;
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
check-cast v2, Lio/fabric/sdk/android/a/b/m;
|
|
|
|
invoke-interface {v2}, Lio/fabric/sdk/android/a/b/m;->cb()Ljava/util/Map;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-interface {v2}, Ljava/util/Map;->entrySet()Ljava/util/Set;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-interface {v2}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v2
|
|
|
|
:goto_0
|
|
invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Ljava/util/Map$Entry;
|
|
|
|
invoke-interface {v3}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
|
|
|
|
move-result-object v4
|
|
|
|
check-cast v4, Lio/fabric/sdk/android/a/b/p$a;
|
|
|
|
invoke-interface {v3}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Ljava/lang/String;
|
|
|
|
invoke-static {v0, v4, v3}, Lio/fabric/sdk/android/a/b/p;->a(Ljava/util/Map;Lio/fabric/sdk/android/a/b/p$a;Ljava/lang/String;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
invoke-static {v0}, Ljava/util/Collections;->unmodifiableMap(Ljava/util/Map;)Ljava/util/Map;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getInstallerPackageName()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lio/fabric/sdk/android/a/b/p;->bLG:Lio/fabric/sdk/android/a/b/q;
|
|
|
|
iget-object v1, p0, Lio/fabric/sdk/android/a/b/p;->mp:Landroid/content/Context;
|
|
|
|
invoke-virtual {v0, v1}, Lio/fabric/sdk/android/a/b/q;->aW(Landroid/content/Context;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|