apkfuckery/com.discord/smali/com/crashlytics/android/CrashlyticsInitProvider.smali

178 lines
4.1 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public Lcom/crashlytics/android/CrashlyticsInitProvider;
.super Landroid/content/ContentProvider;
2019-02-04 20:29:01 +00:00
.source "CrashlyticsInitProvider.java"
2019-02-04 20:08:30 +00:00
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/crashlytics/android/CrashlyticsInitProvider$a;
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Landroid/content/ContentProvider;-><init>()V
return-void
.end method
# virtual methods
.method public delete(Landroid/net/Uri;Ljava/lang/String;[Ljava/lang/String;)I
.locals 0
const/4 p1, 0x0
return p1
.end method
.method public getType(Landroid/net/Uri;)Ljava/lang/String;
.locals 0
const/4 p1, 0x0
return-object p1
.end method
.method public insert(Landroid/net/Uri;Landroid/content/ContentValues;)Landroid/net/Uri;
.locals 0
const/4 p1, 0x0
return-object p1
.end method
.method public onCreate()Z
2019-02-04 20:32:01 +00:00
.locals 6
2019-02-04 20:08:30 +00:00
invoke-virtual {p0}, Lcom/crashlytics/android/CrashlyticsInitProvider;->getContext()Landroid/content/Context;
move-result-object v0
2019-02-04 20:32:01 +00:00
new-instance v1, Lio/fabric/sdk/android/a/b/q;
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
invoke-direct {v1}, Lio/fabric/sdk/android/a/b/q;-><init>()V
2019-02-04 20:08:30 +00:00
new-instance v1, Lcom/crashlytics/android/b;
invoke-direct {v1}, Lcom/crashlytics/android/b;-><init>()V
2019-02-04 20:32:01 +00:00
invoke-static {v0}, Lio/fabric/sdk/android/a/b/q;->aN(Landroid/content/Context;)Z
2019-02-04 20:08:30 +00:00
move-result v2
2019-02-04 20:32:01 +00:00
const/4 v3, 0x0
2019-02-04 20:08:30 +00:00
if-eqz v2, :cond_0
invoke-interface {v1, v0}, Lcom/crashlytics/android/CrashlyticsInitProvider$a;->q(Landroid/content/Context;)Z
move-result v1
goto :goto_0
:cond_0
2019-02-04 20:32:01 +00:00
const-string v1, "io.fabric.auto_initialize"
const-string v2, "bool"
invoke-static {v0, v1, v2}, Lio/fabric/sdk/android/a/b/i;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)I
move-result v1
if-nez v1, :cond_1
2019-02-04 20:08:30 +00:00
const/4 v1, 0x0
2019-02-04 20:32:01 +00:00
goto :goto_0
:cond_1
invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
move-result-object v2
invoke-virtual {v2, v1}, Landroid/content/res/Resources;->getBoolean(I)Z
move-result v1
if-eqz v1, :cond_2
invoke-static {}, Lio/fabric/sdk/android/c;->wx()Lio/fabric/sdk/android/l;
move-result-object v2
const-string v4, "Fabric"
const-string v5, "Found Fabric auto-initialization flag for joint Firebase/Fabric customers"
invoke-interface {v2, v4, v5}, Lio/fabric/sdk/android/l;->d(Ljava/lang/String;Ljava/lang/String;)V
:cond_2
2019-02-04 20:08:30 +00:00
:goto_0
2019-02-04 20:32:01 +00:00
const/4 v2, 0x1
if-eqz v1, :cond_3
2019-02-04 20:08:30 +00:00
:try_start_0
2019-02-04 20:32:01 +00:00
new-array v1, v2, [Lio/fabric/sdk/android/i;
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
new-instance v4, Lcom/crashlytics/android/a;
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
invoke-direct {v4}, Lcom/crashlytics/android/a;-><init>()V
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
aput-object v4, v1, v3
2019-02-04 20:08:30 +00:00
invoke-static {v0, v1}, Lio/fabric/sdk/android/c;->a(Landroid/content/Context;[Lio/fabric/sdk/android/i;)Lio/fabric/sdk/android/c;
2019-02-04 20:32:01 +00:00
invoke-static {}, Lio/fabric/sdk/android/c;->wx()Lio/fabric/sdk/android/l;
2019-02-04 20:08:30 +00:00
move-result-object v0
const-string v1, "CrashlyticsInitProvider"
2019-02-04 20:32:01 +00:00
const-string v4, "CrashlyticsInitProvider initialization successful"
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
invoke-interface {v0, v1, v4}, Lio/fabric/sdk/android/l;->V(Ljava/lang/String;Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
:try_end_0
.catch Ljava/lang/IllegalStateException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_1
:catch_0
2019-02-04 20:32:01 +00:00
invoke-static {}, Lio/fabric/sdk/android/c;->wx()Lio/fabric/sdk/android/l;
2019-02-04 20:08:30 +00:00
move-result-object v0
const-string v1, "CrashlyticsInitProvider"
const-string v2, "CrashlyticsInitProvider initialization unsuccessful"
2019-02-04 20:32:01 +00:00
invoke-interface {v0, v1, v2}, Lio/fabric/sdk/android/l;->V(Ljava/lang/String;Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
return v3
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
:cond_3
2019-02-04 20:08:30 +00:00
:goto_1
2019-02-04 20:32:01 +00:00
return v2
2019-02-04 20:08:30 +00:00
.end method
.method public query(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;
.locals 0
const/4 p1, 0x0
return-object p1
.end method
.method public update(Landroid/net/Uri;Landroid/content/ContentValues;Ljava/lang/String;[Ljava/lang/String;)I
.locals 0
const/4 p1, 0x0
return p1
.end method