mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-27 09:32:27 -06:00
130 lines
3.1 KiB
Smali
130 lines
3.1 KiB
Smali
|
.class public Landroidx/startup/InitializationProvider;
|
||
|
.super Landroid/content/ContentProvider;
|
||
|
.source "InitializationProvider.java"
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>()V
|
||
|
.locals 0
|
||
|
|
||
|
.line 33
|
||
|
invoke-direct {p0}, Landroid/content/ContentProvider;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public final delete(Landroid/net/Uri;Ljava/lang/String;[Ljava/lang/String;)I
|
||
|
.locals 0
|
||
|
|
||
|
.line 83
|
||
|
new-instance p0, Ljava/lang/IllegalStateException;
|
||
|
|
||
|
const-string p1, "Not allowed."
|
||
|
|
||
|
invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method public final getType(Landroid/net/Uri;)Ljava/lang/String;
|
||
|
.locals 0
|
||
|
|
||
|
.line 69
|
||
|
new-instance p0, Ljava/lang/IllegalStateException;
|
||
|
|
||
|
const-string p1, "Not allowed."
|
||
|
|
||
|
invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method public final insert(Landroid/net/Uri;Landroid/content/ContentValues;)Landroid/net/Uri;
|
||
|
.locals 0
|
||
|
|
||
|
.line 75
|
||
|
new-instance p0, Ljava/lang/IllegalStateException;
|
||
|
|
||
|
const-string p1, "Not allowed."
|
||
|
|
||
|
invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method public final onCreate()Z
|
||
|
.locals 1
|
||
|
|
||
|
.line 37
|
||
|
invoke-virtual {p0}, Landroidx/startup/InitializationProvider;->getContext()Landroid/content/Context;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
if-eqz p0, :cond_1
|
||
|
|
||
|
.line 43
|
||
|
invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
.line 45
|
||
|
invoke-static {p0}, Landroidx/startup/AppInitializer;->getInstance(Landroid/content/Context;)Landroidx/startup/AppInitializer;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-virtual {p0}, Landroidx/startup/AppInitializer;->discoverAndInitialize()V
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const-string p0, "Deferring initialization because `applicationContext` is null."
|
||
|
|
||
|
.line 47
|
||
|
invoke-static {p0}, Landroidx/startup/StartupLogger;->w(Ljava/lang/String;)V
|
||
|
|
||
|
:goto_0
|
||
|
const/4 p0, 0x1
|
||
|
|
||
|
return p0
|
||
|
|
||
|
.line 50
|
||
|
:cond_1
|
||
|
new-instance p0, Landroidx/startup/StartupException;
|
||
|
|
||
|
const-string v0, "Context cannot be null"
|
||
|
|
||
|
invoke-direct {p0, v0}, Landroidx/startup/StartupException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method public final query(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;
|
||
|
.locals 0
|
||
|
|
||
|
.line 63
|
||
|
new-instance p0, Ljava/lang/IllegalStateException;
|
||
|
|
||
|
const-string p1, "Not allowed."
|
||
|
|
||
|
invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method public final update(Landroid/net/Uri;Landroid/content/ContentValues;Ljava/lang/String;[Ljava/lang/String;)I
|
||
|
.locals 0
|
||
|
|
||
|
.line 92
|
||
|
new-instance p0, Ljava/lang/IllegalStateException;
|
||
|
|
||
|
const-string p1, "Not allowed."
|
||
|
|
||
|
invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|