- 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
30 lines
1.3 KiB
Java
30 lines
1.3 KiB
Java
package androidx.room;
|
|
|
|
import androidx.sqlite.db.SupportSQLiteOpenHelper;
|
|
import java.io.File;
|
|
import java.io.InputStream;
|
|
import java.util.concurrent.Callable;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class SQLiteCopyOpenHelperFactory implements SupportSQLiteOpenHelper.Factory {
|
|
private final String mCopyFromAssetPath;
|
|
private final File mCopyFromFile;
|
|
private final Callable<InputStream> mCopyFromInputStream;
|
|
private final SupportSQLiteOpenHelper.Factory mDelegate;
|
|
|
|
public SQLiteCopyOpenHelperFactory(String str, File file, Callable<InputStream> callable, SupportSQLiteOpenHelper.Factory mDelegate) {
|
|
Intrinsics.checkNotNullParameter(mDelegate, "mDelegate");
|
|
this.mCopyFromAssetPath = str;
|
|
this.mCopyFromFile = file;
|
|
this.mCopyFromInputStream = callable;
|
|
this.mDelegate = mDelegate;
|
|
}
|
|
|
|
@Override // androidx.sqlite.db.SupportSQLiteOpenHelper.Factory
|
|
public SupportSQLiteOpenHelper create(SupportSQLiteOpenHelper.Configuration configuration) {
|
|
Intrinsics.checkNotNullParameter(configuration, "configuration");
|
|
return new SQLiteCopyOpenHelper(configuration.context, this.mCopyFromAssetPath, this.mCopyFromFile, this.mCopyFromInputStream, configuration.callback.version, this.mDelegate.create(configuration));
|
|
}
|
|
}
|