- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
54 lines
1.9 KiB
Java
54 lines
1.9 KiB
Java
package androidx.startup;
|
|
|
|
import android.content.ContentProvider;
|
|
import android.content.ContentValues;
|
|
import android.content.Context;
|
|
import android.database.Cursor;
|
|
import android.net.Uri;
|
|
import androidx.annotation.NonNull;
|
|
import androidx.annotation.Nullable;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class InitializationProvider extends ContentProvider {
|
|
@Override // android.content.ContentProvider
|
|
public final boolean onCreate() {
|
|
Context context = getContext();
|
|
if (context != null) {
|
|
if (context.getApplicationContext() == null) {
|
|
return true;
|
|
}
|
|
AppInitializer.getInstance(context).discoverAndInitialize();
|
|
return true;
|
|
}
|
|
throw new StartupException("Context cannot be null");
|
|
}
|
|
|
|
@Override // android.content.ContentProvider
|
|
@Nullable
|
|
public final Cursor query(@NonNull Uri uri, @Nullable String[] strArr, @Nullable String str, @Nullable String[] strArr2, @Nullable String str2) {
|
|
throw new IllegalStateException("Not allowed.");
|
|
}
|
|
|
|
@Override // android.content.ContentProvider
|
|
@Nullable
|
|
public final String getType(@NonNull Uri uri) {
|
|
throw new IllegalStateException("Not allowed.");
|
|
}
|
|
|
|
@Override // android.content.ContentProvider
|
|
@Nullable
|
|
public final Uri insert(@NonNull Uri uri, @Nullable ContentValues contentValues) {
|
|
throw new IllegalStateException("Not allowed.");
|
|
}
|
|
|
|
@Override // android.content.ContentProvider
|
|
public final int delete(@NonNull Uri uri, @Nullable String str, @Nullable String[] strArr) {
|
|
throw new IllegalStateException("Not allowed.");
|
|
}
|
|
|
|
@Override // android.content.ContentProvider
|
|
public final int update(@NonNull Uri uri, @Nullable ContentValues contentValues, @Nullable String str, @Nullable String[] strArr) {
|
|
throw new IllegalStateException("Not allowed.");
|
|
}
|
|
}
|