- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
29 lines
1.4 KiB
Java
29 lines
1.4 KiB
Java
package androidx.room;
|
|
|
|
import androidx.room.RoomDatabase;
|
|
import androidx.sqlite.db.SupportSQLiteOpenHelper;
|
|
import java.util.concurrent.Executor;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class QueryInterceptorOpenHelperFactory implements SupportSQLiteOpenHelper.Factory {
|
|
private final SupportSQLiteOpenHelper.Factory delegate;
|
|
private final RoomDatabase.QueryCallback queryCallback;
|
|
private final Executor queryCallbackExecutor;
|
|
|
|
public QueryInterceptorOpenHelperFactory(SupportSQLiteOpenHelper.Factory delegate, Executor queryCallbackExecutor, RoomDatabase.QueryCallback queryCallback) {
|
|
Intrinsics.checkNotNullParameter(delegate, "delegate");
|
|
Intrinsics.checkNotNullParameter(queryCallbackExecutor, "queryCallbackExecutor");
|
|
Intrinsics.checkNotNullParameter(queryCallback, "queryCallback");
|
|
this.delegate = delegate;
|
|
this.queryCallbackExecutor = queryCallbackExecutor;
|
|
this.queryCallback = queryCallback;
|
|
}
|
|
|
|
@Override // androidx.sqlite.db.SupportSQLiteOpenHelper.Factory
|
|
public SupportSQLiteOpenHelper create(SupportSQLiteOpenHelper.Configuration configuration) {
|
|
Intrinsics.checkNotNullParameter(configuration, "configuration");
|
|
return new QueryInterceptorOpenHelper(this.delegate.create(configuration), this.queryCallbackExecutor, this.queryCallback);
|
|
}
|
|
}
|